10l (closed gop bit)
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 29 Aug 2003 15:57:40 +0000 (15:57 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 29 Aug 2003 15:57:40 +0000 (15:57 +0000)
Originally committed as revision 2178 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpeg12.c

index d65ad86..c9284b2 100644 (file)
@@ -274,7 +274,7 @@ static void mpeg1_encode_sequence_header(MpegEncContext *s)
             put_bits(&s->pb, 1, 1);
             put_bits(&s->pb, 6, (uint32_t)((time_code / fps) % 60));
             put_bits(&s->pb, 6, (uint32_t)((time_code % fps) / MPEG1_FRAME_RATE_BASE));
             put_bits(&s->pb, 1, 1);
             put_bits(&s->pb, 6, (uint32_t)((time_code / fps) % 60));
             put_bits(&s->pb, 6, (uint32_t)((time_code % fps) / MPEG1_FRAME_RATE_BASE));
-            put_bits(&s->pb, 1, 1); /* closed gop */
+            put_bits(&s->pb, 1, 0); /* closed gop */
             put_bits(&s->pb, 1, 0); /* broken link */
         }
 
             put_bits(&s->pb, 1, 0); /* broken link */
         }