[FFmpeg-cvslog] r23914 - trunk/libavcodec/mpeg12.c
cehoyos
subversion
Wed Jun 30 23:46:03 CEST 2010
Author: cehoyos
Date: Wed Jun 30 23:46:03 2010
New Revision: 23914
Log:
Do not skip one of three bits zero padding.
Patch by Daniel Kristjansson, danielk cuymedia net
Modified:
trunk/libavcodec/mpeg12.c
Modified: trunk/libavcodec/mpeg12.c
==============================================================================
--- trunk/libavcodec/mpeg12.c Wed Jun 30 23:45:51 2010 (r23913)
+++ trunk/libavcodec/mpeg12.c Wed Jun 30 23:46:03 2010 (r23914)
@@ -1440,7 +1440,7 @@ static void mpeg_decode_sequence_display
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;
More information about the ffmpeg-cvslog
mailing list