diff options
Diffstat (limited to 'libavcodec/pthread.c')
-rw-r--r-- | libavcodec/pthread.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c index 1ec2d1a1f9..a44500b036 100644 --- a/libavcodec/pthread.c +++ b/libavcodec/pthread.c @@ -602,6 +602,7 @@ int ff_thread_decode_frame(AVCodecContext *avctx, picture->sample_aspect_ratio = avctx->sample_aspect_ratio; picture->width = avctx->width; picture->height = avctx->height; + picture->format = avctx->pix_fmt; /* * A later call with avkpt->size == 0 may loop over all threads, |