Merge commit 'dd2d3b766b20196d0b65a82e3d897ccecbf7adb8'
[ffmpeg.git] / libavcodec / pthread_frame.c
index f2ac735..fcaa001 100644 (file)
@@ -226,6 +226,7 @@ static int update_context_from_thread(AVCodecContext *dst, AVCodecContext *src,
         dst->sample_rate    = src->sample_rate;
         dst->sample_fmt     = src->sample_fmt;
         dst->channel_layout = src->channel_layout;
         dst->sample_rate    = src->sample_rate;
         dst->sample_fmt     = src->sample_fmt;
         dst->channel_layout = src->channel_layout;
+        dst->internal->hwaccel_priv_data = src->internal->hwaccel_priv_data;
     }
 
     if (for_user) {
     }
 
     if (for_user) {