diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-09-09 02:36:57 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-09 02:36:57 +0200 |
commit | 59fdf543d515d208a9913c67d0df5a3a095976f4 (patch) | |
tree | 6941c329ea93ed3eea4fa89b790d86d38a5ee0a5 | |
parent | 31a797eb2846ffa9c7ef2fa0abf81e946a173e6e (diff) | |
download | ffmpeg-59fdf543d515d208a9913c67d0df5a3a095976f4.tar.gz |
smush: read subversion for version==1 too.
This avoids a gcc warning, otherwise it should have no effect.
its a bit more consistent too
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/smush.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/smush.c b/libavformat/smush.c index d9a58c6cb5..b164c7516e 100644 --- a/libavformat/smush.c +++ b/libavformat/smush.c @@ -79,7 +79,7 @@ static int smush_read_header(AVFormatContext *ctx) return AVERROR_INVALIDDATA; smush->version = 1; - avio_skip(pb, 2); // skip version + subversion = avio_rl16(pb); nframes = avio_rl32(pb); avio_skip(pb, 2); // skip pad width = avio_rl16(pb); |