]> git.sesse.net Git - ffmpeg/commit
avcodec/mpeg12: Don't pretend reading dct_dc_size_* VLCs can fail
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 8 Oct 2020 15:54:19 +0000 (17:54 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 12 Oct 2020 00:10:41 +0000 (02:10 +0200)
commit7800cc6e82068c6dfb5af53817f03dfda794c568
tree4700bdd8b4d922423ce2d56b8857a342fb48e84b
parentc4990409f2edf5ec034e47aa79e8b9f5cc798d3a
avcodec/mpeg12: Don't pretend reading dct_dc_size_* VLCs can fail

It can't because the corresponding trees don't have any loose ends.

Removing the checks also removed an instance of av_log(NULL (with a
nonsense message) from the codebase.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/mdec.c
libavcodec/mpeg12.h
libavcodec/mpeg12dec.c