mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/dcadec: add an assert to silence a uninitialized variable warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
7e79d72c28
commit
62a9725bc9
|
@ -2064,6 +2064,8 @@ static void dca_exss_parse_header(DCAContext *s)
|
|||
}
|
||||
}
|
||||
|
||||
av_assert0(num_assets > 0); // silence a warning
|
||||
|
||||
for (i = 0; i < num_assets; i++)
|
||||
asset_size[i] = get_bits_long(&s->gb, 16 + 4 * blownup);
|
||||
|
||||
|
|
Loading…
Reference in New Issue