[FFmpeg-cvslog] r16930 - trunk/libavformat/mxfenc.c
bcoudurier
subversion
Mon Feb 2 05:00:28 CET 2009
Author: bcoudurier
Date: Mon Feb 2 05:00:27 2009
New Revision: 16930
Log:
adjust size when not writing f2
Modified:
trunk/libavformat/mxfenc.c
Modified: trunk/libavformat/mxfenc.c
==============================================================================
--- trunk/libavformat/mxfenc.c Mon Feb 2 04:49:23 2009 (r16929)
+++ trunk/libavformat/mxfenc.c Mon Feb 2 05:00:27 2009 (r16930)
@@ -597,7 +597,7 @@ static void mxf_write_mpegvideo_desc(AVF
AVRational dar;
int f1, f2;
- mxf_write_generic_desc(pb, st, mxf_mpegvideo_descriptor_key, 157);
+ mxf_write_generic_desc(pb, st, mxf_mpegvideo_descriptor_key, 153+sc->interlaced*4);
mxf_write_local_tag(pb, 4, 0x3203);
put_be32(pb, st->codec->width);
More information about the ffmpeg-cvslog
mailing list