You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/dcadec: remove always true if()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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);
|
||||||
@@ -2100,7 +2099,6 @@ static void dca_exss_parse_header(DCAContext *s)
|
|||||||
if (start_posn + asset_size[i] * 8 > j)
|
if (start_posn + asset_size[i] * 8 > j)
|
||||||
skip_bits_long(&s->gb, start_posn + asset_size[i] * 8 - j);
|
skip_bits_long(&s->gb, start_posn + asset_size[i] * 8 - j);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user