[FFmpeg-cvslog] avcodec/mv30: Don't check for errors for complete VLCs
Andreas Rheinhardt
git at videolan.org
Tue Nov 24 12:49:36 EET 2020
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Mon Nov 16 14:50:49 2020 +0100| [37f510d3f48fb0ab127694a77858dcc78346780c] | committer: Andreas Rheinhardt
avcodec/mv30: Don't check for errors for complete VLCs
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=37f510d3f48fb0ab127694a77858dcc78346780c
---
libavcodec/mv30.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/libavcodec/mv30.c b/libavcodec/mv30.c
index 59088d84f8..a361873c80 100644
--- a/libavcodec/mv30.c
+++ b/libavcodec/mv30.c
@@ -379,9 +379,6 @@ static int decode_coeffs(GetBitContext *gb, int16_t *coeffs, int nb_codes)
for (int i = 0; i < nb_codes;) {
int value = get_vlc2(gb, cbp_tab.table, cbp_tab.bits, 1);
- if (value < 0)
- return AVERROR_INVALIDDATA;
-
if (value > 0) {
int x = get_bits(gb, value);
More information about the ffmpeg-cvslog
mailing list