---
libavcodec/framethread.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libavcodec/framethread.c b/libavcodec/framethread.c
index 1e5c585..c9d9517 100644
--- a/libavcodec/framethread.c
+++ b/libavcodec/framethread.c
@@ -88,6 +88,7 @@ static attribute_align_arg void *decode_frame_thread(void *arg)
if (!codec->update_context) ff_report_predecode_done(avctx);
pthread_mutex_lock(&p->mutex);
+ avcodec_get_frame_defaults(&p->result);
res = codec->decode(avctx, &p->result, &p->output_size, p->input, p->input_size);
if (p->state == STATE_PREDECODING) ff_report_predecode_done(avctx); //duplication
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc