You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
riff: ignore ff_read_riff_info() failure.
Some files simply contain invalid info tags. Fixes unrelated bug posted into Ticket1821 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user