Skip to content
Snippets Groups Projects
Commit 59fdf543 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

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: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 31a797eb
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment