Browse Source

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
tags/n0.8
Daniel Kristjansson Carl Eugen Hoyos 15 years ago
parent
commit
0db2d3cf1d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/mpeg12.c

+ 1
- 1
libavcodec/mpeg12.c View File

@@ -1440,7 +1440,7 @@ static void mpeg_decode_sequence_display_extension(Mpeg1Context *s1)
w= get_bits(&s->gb, 14);
skip_bits(&s->gb, 1); //marker
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.height=16*h;


Loading…
Cancel
Save