diff mpeg12.c @ 12028:2caea98f5711 libavcodec

Do not skip one of three bits zero padding. Patch by Daniel Kristjansson, danielk cuymedia net
author cehoyos
date Wed, 30 Jun 2010 21:46:03 +0000
parents fdafbcef52f5
children c35d7bc64882
line wrap: on
line diff
--- a/mpeg12.c	Wed Jun 30 21:45:51 2010 +0000
+++ b/mpeg12.c	Wed Jun 30 21:46:03 2010 +0000
@@ -1440,7 +1440,7 @@
     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;