# HG changeset patch # User bcoudurier # Date 1233547227 0 # Node ID e8dd4b55d8d1877369c7eeb2723bbc826f0cae08 # Parent 3d3c7fbfd910cfc7ff0066a7c4eeacd4605187de adjust size when not writing f2 diff -r 3d3c7fbfd910 -r e8dd4b55d8d1 mxfenc.c --- 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);