Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-06-14 01:49:18 +0400
committerPaul B Mahol <onemda@gmail.com>2013-06-14 01:49:18 +0400
commitff0bdf937568908a35d4091cb5c83a0155117ae6 (patch)
tree0a667b240470697645e22ec1289ee564cdb53501 /libavcodec/tta.c
parentc112e36d41da5eb25af3230e2365737759e75375 (diff)
lavc: copy AVCodecContext for threads
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/tta.c')
-rw-r--r--libavcodec/tta.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/tta.c b/libavcodec/tta.c
index 710aa359d1..6697d84905 100644
--- a/libavcodec/tta.c
+++ b/libavcodec/tta.c
@@ -410,6 +410,8 @@ error:
static int init_thread_copy(AVCodecContext *avctx)
{
+ TTAContext *s = avctx->priv_data;
+ s->avctx = avctx;
return allocate_buffers(avctx);
}