mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
4xm: Dont ignore dc run errors
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
13c56e9a9c
commit
68efb1d60a
@ -506,8 +506,10 @@ static int decode_i_block(FourXContext *f, int16_t *block)
|
|||||||
|
|
||||||
/* DC coef */
|
/* DC coef */
|
||||||
val = get_vlc2(&f->pre_gb, f->pre_vlc.table, ACDC_VLC_BITS, 3);
|
val = get_vlc2(&f->pre_gb, f->pre_vlc.table, ACDC_VLC_BITS, 3);
|
||||||
if (val >> 4)
|
if (val >> 4) {
|
||||||
av_log(f->avctx, AV_LOG_ERROR, "error dc run != 0\n");
|
av_log(f->avctx, AV_LOG_ERROR, "error dc run != 0\n");
|
||||||
|
return AVERROR_INVALIDDATA;
|
||||||
|
}
|
||||||
|
|
||||||
if (val)
|
if (val)
|
||||||
val = get_xbits(&f->gb, val);
|
val = get_xbits(&f->gb, val);
|
||||||
|
Loading…
Reference in New Issue
Block a user