Commit feadcd1b authored by Ronald S. Bultje's avatar Ronald S. Bultje Committed by Janne Grunau

pthread: copy coded frame dimensions in update_context_from_thread

Signed-off-by: 's avatarJanne Grunau <janne-libav@jannau.net>
parent 0f0b5d64
...@@ -332,6 +332,9 @@ static int update_context_from_thread(AVCodecContext *dst, AVCodecContext *src, ...@@ -332,6 +332,9 @@ static int update_context_from_thread(AVCodecContext *dst, AVCodecContext *src,
dst->height = src->height; dst->height = src->height;
dst->pix_fmt = src->pix_fmt; 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->has_b_frames = src->has_b_frames;
dst->idct_algo = src->idct_algo; dst->idct_algo = src->idct_algo;
dst->slice_count = src->slice_count; dst->slice_count = src->slice_count;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment