diff options
author | Mark Thompson <sw@jkqxz.net> | 2017-03-30 22:58:59 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2017-04-02 16:00:03 +0100 |
commit | c2bebfc8012821a2a22b64cae9e3cdea0f15792c (patch) | |
tree | 038eab6a76b761f1c5046aa3d1c9574a5a9e71a7 | |
parent | 10f4511f14a4e830c0ed471df4cd1cc2a18a481a (diff) | |
download | ffmpeg-c2bebfc8012821a2a22b64cae9e3cdea0f15792c.tar.gz |
pthread_frame: Propagate sw_pix_fmt across threads
-rw-r--r-- | libavcodec/pthread_frame.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/pthread_frame.c b/libavcodec/pthread_frame.c index 6d14a878a4..a72391ba36 100644 --- a/libavcodec/pthread_frame.c +++ b/libavcodec/pthread_frame.c @@ -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; |