mirror of https://github.com/FFmpeg/FFmpeg.git
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 0ca33b1d4e
.
Tested-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
pull/281/head
parent
8b0a9f79c8
commit
a43e9cdd44
1 changed files with 0 additions and 1 deletions
Loading…
Reference in new issue