mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +02:00
avcodec/vp3: Don't check for errors for complete VLC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
parent
c72a29df6b
commit
9b45c6d74b
@ -682,11 +682,6 @@ static int vp4_get_mb_count(Vp3DecodeContext *s, GetBitContext *gb)
|
|||||||
static int vp4_get_block_pattern(Vp3DecodeContext *s, GetBitContext *gb, int *next_block_pattern_table)
|
static int vp4_get_block_pattern(Vp3DecodeContext *s, GetBitContext *gb, int *next_block_pattern_table)
|
||||||
{
|
{
|
||||||
int v = get_vlc2(gb, s->block_pattern_vlc[*next_block_pattern_table].table, 3, 2);
|
int v = get_vlc2(gb, s->block_pattern_vlc[*next_block_pattern_table].table, 3, 2);
|
||||||
if (v == -1) {
|
|
||||||
av_log(s->avctx, AV_LOG_ERROR, "Invalid block pattern\n");
|
|
||||||
*next_block_pattern_table = 0;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
*next_block_pattern_table = vp4_block_pattern_table_selector[v];
|
*next_block_pattern_table = vp4_block_pattern_table_selector[v];
|
||||||
return v + 1;
|
return v + 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user