diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-10-24 15:26:55 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-10-29 11:22:35 +0100 |
commit | 1d658e65ab60ff0a542d875480474fb16e3413fd (patch) | |
tree | 6eb688bb1463d51e6f0518a19d6f0a7aa54b4d8f | |
parent | ae9a1a96982669926a4ecb92b066814f5f27dc38 (diff) | |
download | ffmpeg-1d658e65ab60ff0a542d875480474fb16e3413fd.tar.gz |
avcodec/clearvideo: Don't check for errors for complete VLC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r-- | libavcodec/clearvideo.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/clearvideo.c b/libavcodec/clearvideo.c index 65bf140401..73c0367f71 100644 --- a/libavcodec/clearvideo.c +++ b/libavcodec/clearvideo.c @@ -88,8 +88,6 @@ static inline int decode_block(CLVContext *ctx, int16_t *blk, int has_ac, memset(blk, 0, sizeof(*blk) * 64); blk[0] = get_vlc2(gb, ctx->dc_vlc.table, 9, 3); - if (blk[0] < 0) - return AVERROR_INVALIDDATA; blk[0] -= 63; if (!has_ac) |