1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

avformat/dhav: always initializer ret

This commit is contained in:
Paul B Mahol
2019-08-28 15:44:36 +02:00
parent 1232e67b16
commit d8410e9cf9

View File

@@ -146,7 +146,7 @@ static const uint32_t sample_rates[] = {
static int parse_ext(AVFormatContext *s, int length)
{
DHAVContext *dhav = s->priv_data;
int index, ret;
int index, ret = 0;
while (length > 0) {
int type = avio_r8(s->pb);