diff mxfenc.c @ 4343:b691846ea95e libavformat

fix video line map tag size
author bcoudurier
date Mon, 02 Feb 2009 10:10:41 +0000
parents b889db531b8f
children 582124bb2c15
line wrap: on
line diff
--- a/mxfenc.c	Mon Feb 02 10:04:36 2009 +0000
+++ b/mxfenc.c	Mon Feb 02 10:10:41 2009 +0000
@@ -661,7 +661,7 @@
         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);