fix video line map tag size
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Mon, 2 Feb 2009 10:10:41 +0000 (10:10 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Mon, 2 Feb 2009 10:10:41 +0000 (10:10 +0000)
Originally committed as revision 16938 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/mxfenc.c

index 0340907..eaaece3 100644 (file)
@@ -661,7 +661,7 @@ static void mxf_write_mpegvideo_desc(AVFormatContext *s, AVStream *st)
         f1 *= 2;
     }
 
-    mxf_write_local_tag(pb, 16, 0x320D);
+    mxf_write_local_tag(pb, 12+sc->interlaced*4, 0x320D);
     put_be32(pb, sc->interlaced ? 2 : 1);
     put_be32(pb, 4);
     put_be32(pb, f1);