summaryrefslogtreecommitdiff
path: root/libavcodec/mediacodec_wrapper.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2018-03-06 23:26:22 -0300
committerJames Almer <jamrial@gmail.com>2018-03-06 23:41:32 -0300
commita43e9cdd442b3ccf50faa32a15b03bdaff278017 (patch)
treefd3503499a81b7cb634787705aca337046cea004 /libavcodec/mediacodec_wrapper.c
parent8b0a9f79c8973283e7dc21609bb3848a21427906 (diff)
downloadffmpeg-a43e9cdd442b3ccf50faa32a15b03bdaff278017.tar.gz
avformat/isom: don't free extradata before calling ff_get_extradata()
ff_get_extradata() frees any existing extradata before allocating now, and using av_free() here leaves a dangling pointer that will result in a double free. Fixes a regression since 0ca33b1d4eb2a2a2e78ff3a37f1647917635b0d2. Tested-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/mediacodec_wrapper.c')
0 files changed, 0 insertions, 0 deletions