diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-06-13 21:49:18 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-06-13 21:49:18 +0000 |
commit | ff0bdf937568908a35d4091cb5c83a0155117ae6 (patch) | |
tree | 0a667b240470697645e22ec1289ee564cdb53501 /libavcodec/tta.c | |
parent | c112e36d41da5eb25af3230e2365737759e75375 (diff) | |
download | ffmpeg-ff0bdf937568908a35d4091cb5c83a0155117ae6.tar.gz |
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.c | 2 |
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); } |