1
0
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:
Michael Niedermayer 2012-12-16 12:57:43 +01:00
parent 633ae5a210
commit de89dff8da

View File

@ -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);