avcodec/audiotoolboxdec: always use a copy of the AVCodecContext extradata
authorJames Almer <jamrial@gmail.com>
Thu, 25 May 2017 14:00:47 +0000 (11:00 -0300)
committerJames Almer <jamrial@gmail.com>
Wed, 6 Sep 2017 14:35:07 +0000 (11:35 -0300)
commit7273e234dee5dfeee67cc365a8f7fa0b8211127c
treed3d68f8ce7dbd0531b2f16281e03834dba86d286
parenteea69a9f250e565640f1dc69b285a4d27668f67b
avcodec/audiotoolboxdec: always use a copy of the AVCodecContext extradata

Fixes memleaks introduced by 954e2b3d34b7c2d82871254f07e2f8a39bc451cb

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/audiotoolboxdec.c