summaryrefslogtreecommitdiff
path: root/libavcodec/alac.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-06-13 21:49:18 +0000
committerPaul B Mahol <onemda@gmail.com>2013-06-13 21:49:18 +0000
commitff0bdf937568908a35d4091cb5c83a0155117ae6 (patch)
tree0a667b240470697645e22ec1289ee564cdb53501 /libavcodec/alac.c
parentc112e36d41da5eb25af3230e2365737759e75375 (diff)
downloadffmpeg-ff0bdf937568908a35d4091cb5c83a0155117ae6.tar.gz
lavc: copy AVCodecContext for threads
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/alac.c')
-rw-r--r--libavcodec/alac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/alac.c b/libavcodec/alac.c
index c6f01b329f..6ffc00634f 100644
--- a/libavcodec/alac.c
+++ b/libavcodec/alac.c
@@ -621,6 +621,7 @@ static av_cold int alac_decode_init(AVCodecContext * avctx)
static int init_thread_copy(AVCodecContext *avctx)
{
ALACContext *alac = avctx->priv_data;
+ alac->avctx = avctx;
return allocate_buffers(alac);
}