]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/tta.c
Merge commit 'f80b60ad59945dae32bb26a4e239ed94b0e92fa3'
[ffmpeg] / libavcodec / tta.c
index 710aa359d12cfbc9b8c70efe568b57458b295085..6697d8490539063a27293a5832face76307bf005 100644 (file)
@@ -410,6 +410,8 @@ error:
 
 static int init_thread_copy(AVCodecContext *avctx)
 {
+    TTAContext *s = avctx->priv_data;
+    s->avctx = avctx;
     return allocate_buffers(avctx);
 }