pthread_frame: Propagate sw_pix_fmt across threads

This commit is contained in:
Mark Thompson 2017-03-30 22:58:59 +01:00
parent 10f4511f14
commit c2bebfc801

View File

@ -229,6 +229,7 @@ static int update_context_from_thread(AVCodecContext *dst, AVCodecContext *src,
dst->width = src->width;
dst->height = src->height;
dst->pix_fmt = src->pix_fmt;
dst->sw_pix_fmt = src->sw_pix_fmt;
dst->coded_width = src->coded_width;
dst->coded_height = src->coded_height;