mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/dcadec: remove always true if()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
364e8904ce
commit
7e79d72c28
|
@ -2075,7 +2075,6 @@ static void dca_exss_parse_header(DCAContext *s)
|
||||||
/* not parsed further, we were only interested in the extensions mask
|
/* not parsed further, we were only interested in the extensions mask
|
||||||
* from the asset header */
|
* from the asset header */
|
||||||
|
|
||||||
if (num_assets > 0) {
|
|
||||||
j = get_bits_count(&s->gb);
|
j = get_bits_count(&s->gb);
|
||||||
if (start_posn + hdrsize * 8 > j)
|
if (start_posn + hdrsize * 8 > j)
|
||||||
skip_bits_long(&s->gb, start_posn + hdrsize * 8 - j);
|
skip_bits_long(&s->gb, start_posn + hdrsize * 8 - j);
|
||||||
|
@ -2101,7 +2100,6 @@ static void dca_exss_parse_header(DCAContext *s)
|
||||||
skip_bits_long(&s->gb, start_posn + asset_size[i] * 8 - j);
|
skip_bits_long(&s->gb, start_posn + asset_size[i] * 8 - j);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Main frame decoding function
|
* Main frame decoding function
|
||||||
|
|
Loading…
Reference in New Issue