[SCM] libav/experimental: fix video line map tag size

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:36:42 UTC 2013


The following commit has been merged in the experimental branch:
commit ed00d0c1b000dd2159948bed0d27a4391fd53e89
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date:   Mon Feb 2 10:10:41 2009 +0000

    fix video line map tag size
    
    Originally committed as revision 16938 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c
index 0340907..eaaece3 100644
--- a/libavformat/mxfenc.c
+++ b/libavformat/mxfenc.c
@@ -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);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list