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
1 changed files with 1 additions and 1 deletions

View File

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