1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avcodec/clearvideo: Don't check for errors for complete VLC

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2020-10-24 15:26:55 +02:00
parent ae9a1a9698
commit 1d658e65ab

View File

@ -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)