diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2011-10-14 23:46:06 +0200 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2011-10-15 00:13:21 +0200 |
commit | feadcd1bdcbb4601f4ff01878027264fde985ee1 (patch) | |
tree | ff3c78940cde5a595572566690dccb76fe31a208 | |
parent | 0f0b5d643401d4d83322eeee0e57eb5a226ef9ab (diff) | |
download | ffmpeg-feadcd1bdcbb4601f4ff01878027264fde985ee1.tar.gz |
pthread: copy coded frame dimensions in update_context_from_thread
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-rw-r--r-- | libavcodec/pthread.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c index e546c21ddd..94df4ec5a2 100644 --- a/libavcodec/pthread.c +++ b/libavcodec/pthread.c @@ -332,6 +332,9 @@ static int update_context_from_thread(AVCodecContext *dst, AVCodecContext *src, dst->height = src->height; dst->pix_fmt = src->pix_fmt; + dst->coded_width = src->coded_width; + dst->coded_height = src->coded_height; + dst->has_b_frames = src->has_b_frames; dst->idct_algo = src->idct_algo; dst->slice_count = src->slice_count; |