Browse Source

brstm: ask for samples for version != 1.0

This also avoids 2 unused variable warnings.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 13 years ago
parent
commit
de89dff8da
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      libavformat/brstm.c

+ 4
- 0
libavformat/brstm.c 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);


Loading…
Cancel
Save