summaryrefslogtreecommitdiff
path: root/libavformat/brstm.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-16 12:57:43 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-16 15:05:31 +0100
commitde89dff8da7b8ab1b8e3eb369ba1fa7a7e8dcb72 (patch)
tree7cd3871d9eec9c1d7a2e979ec8cc6b3bb712d9eb /libavformat/brstm.c
parent633ae5a2101cf6a4367f89041f6356ebc795f369 (diff)
downloadffmpeg-de89dff8da7b8ab1b8e3eb369ba1fa7a7e8dcb72.tar.gz
brstm: ask for samples for version != 1.0
This also avoids 2 unused variable warnings. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/brstm.c')
-rw-r--r--libavformat/brstm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/brstm.c b/libavformat/brstm.c
index 3f7117f8e8..82f3027620 100644
--- a/libavformat/brstm.c
+++ b/libavformat/brstm.c
@@ -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);