summaryrefslogtreecommitdiff
path: root/libavcodec/dcadec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-08 16:47:20 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-08 16:47:20 +0200
commit7e79d72c28718ec60e8e76f7fdb5d66e9f2fa028 (patch)
treef99b5110f456889149285db40e720b6cc93ebe40 /libavcodec/dcadec.c
parent364e8904ce915a3fbb1bb86c29e81e9475b37fb9 (diff)
avcodec/dcadec: remove always true if()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dcadec.c')
-rw-r--r--libavcodec/dcadec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c
index e553ccfd30..23d1dd939b 100644
--- a/libavcodec/dcadec.c
+++ b/libavcodec/dcadec.c
@@ -2075,7 +2075,6 @@ static void dca_exss_parse_header(DCAContext *s)
/* not parsed further, we were only interested in the extensions mask
* from the asset header */
- if (num_assets > 0) {
j = get_bits_count(&s->gb);
if (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)
skip_bits_long(&s->gb, start_posn + asset_size[i] * 8 - j);
}
- }
}
/**