diff mxfenc.c @ 4338:e8dd4b55d8d1 libavformat

adjust size when not writing f2
author bcoudurier
date Mon, 02 Feb 2009 04:00:27 +0000
parents 3d3c7fbfd910
children eaecbe63bcc5
line wrap: on
line diff
--- a/mxfenc.c	Mon Feb 02 03:49:23 2009 +0000
+++ b/mxfenc.c	Mon Feb 02 04:00:27 2009 +0000
@@ -597,7 +597,7 @@
     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);