mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
brstm: ask for samples for version != 1.0
This also avoids 2 unused variable warnings. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
633ae5a210
commit
de89dff8da
@ -219,6 +219,10 @@ static int read_header(AVFormatContext *s)
|
||||
goto fail;
|
||||
}
|
||||
avio_skip(s->pb, start - avio_tell(s->pb));
|
||||
|
||||
if (major!=1 || minor)
|
||||
av_log_ask_for_sample(s, "Version %d.%d\n", major, minor);
|
||||
|
||||
return 0;
|
||||
default:
|
||||
av_log(s, AV_LOG_WARNING, "skipping unknown chunk: %X\n", chunk);
|
||||
|
Loading…
Reference in New Issue
Block a user