aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/md5proto.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-03 14:12:44 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-03 18:07:58 +0200
commit1f3735892bb3aed3684333ae237b680fcf480fca (patch)
tree71a4d855b8a496e8af361ce604b1bd7bb9be3d27 /libavformat/md5proto.c
parentedbc26e38b1cb0d53a355ed49a92f58335e0eff9 (diff)
downloadffmpeg-1f3735892bb3aed3684333ae237b680fcf480fca.tar.gz
avcodec/mjpegdec: Fix leak in case of invalid external Huffman tables
When using external Huffman tables fails during init, the decoder reverts back to using the default Huffman tables; and when doing so, the current VLC tables leak because init_default_huffman_tables() doesn't free them before overwriting them. Sample: samples.ffmpeg.org/archive/all/avi+mjpeg+pcm_s16le++mjpeg-interlace.avi Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> (cherry picked from commit 3cc685b7bcc2bcc781b5632bf2e0af6ed941ae27)
Diffstat (limited to 'libavformat/md5proto.c')
0 files changed, 0 insertions, 0 deletions