Commit 09456d0d authored by Michael Niedermayer's avatar Michael Niedermayer

riff: ignore ff_read_riff_info() failure.

Some files simply contain invalid info tags.
Fixes unrelated bug posted into Ticket1821
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 9a7256e8
......@@ -346,8 +346,7 @@ static int wav_read_header(AVFormatContext *s)
}
switch (avio_rl32(pb)) {
case MKTAG('I', 'N', 'F', 'O'):
if ((ret = ff_read_riff_info(s, size - 4)) < 0)
return ret;
ff_read_riff_info(s, size - 4);
}
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment