Commit 0db2d3cf authored by Daniel Kristjansson's avatar Daniel Kristjansson Committed by Carl Eugen Hoyos
Browse files

Do not skip one of three bits zero padding.

Patch by Daniel Kristjansson, danielk cuymedia net

Originally committed as revision 23914 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 809b7a99
...@@ -1440,7 +1440,7 @@ static void mpeg_decode_sequence_display_extension(Mpeg1Context *s1) ...@@ -1440,7 +1440,7 @@ static void mpeg_decode_sequence_display_extension(Mpeg1Context *s1)
w= get_bits(&s->gb, 14); w= get_bits(&s->gb, 14);
skip_bits(&s->gb, 1); //marker skip_bits(&s->gb, 1); //marker
h= get_bits(&s->gb, 14); h= get_bits(&s->gb, 14);
skip_bits(&s->gb, 1); //marker // remaining 3 bits are zero padding
s1->pan_scan.width= 16*w; s1->pan_scan.width= 16*w;
s1->pan_scan.height=16*h; s1->pan_scan.height=16*h;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment