[Ffmpeg-cvslog] r8296 - trunk/libavcodec/mpeg12.c
bcoudurier
subversion
Thu Mar 8 19:25:47 CET 2007
Author: bcoudurier
Date: Thu Mar 8 19:25:47 2007
New Revision: 8296
Modified:
trunk/libavcodec/mpeg12.c
Log:
fix drop frame timecode flag
Modified: trunk/libavcodec/mpeg12.c
==============================================================================
--- trunk/libavcodec/mpeg12.c (original)
+++ trunk/libavcodec/mpeg12.c Thu Mar 8 19:25:47 2007
@@ -369,7 +369,7 @@ static void mpeg1_encode_sequence_header
}
put_header(s, GOP_START_CODE);
- put_bits(&s->pb, 1, !!(s->avctx->flags & CODEC_FLAG2_DROP_FRAME_TIMECODE)); /* drop frame flag */
+ put_bits(&s->pb, 1, !!(s->avctx->flags2 & CODEC_FLAG2_DROP_FRAME_TIMECODE)); /* drop frame flag */
/* time code : we must convert from the real frame rate to a
fake mpeg frame rate in case of low frame rate */
fps = (framerate.num + framerate.den/2)/ framerate.den;
More information about the ffmpeg-cvslog
mailing list