mirror of https://github.com/FFmpeg/FFmpeg.git
After introduction of ff_dvdclut_palette_extradata_cat() to convert
DVD subtitle palettes from YUV to RGB, a leak is introduced because
of the call to ff_alloc_extradata(). This is not necessary, instead
we should free the extradata because ff_bprint_to_codecpar_extradata()
will finalize the bprint'ed string to the codecpar and set the length.
Fixes leak introduced in 3b0e6c0ecc
.
Signed-off-by: Marth64 <marth64@proxyid.net>
master
parent
b164dea68c
commit
8291aedf1a
1 changed files with 2 additions and 3 deletions
Loading…
Reference in new issue