aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-02-02 04:00:27 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-02-02 04:00:27 +0000
commit4966b98a57f51b5d4fd9ffbf3e51f725ee1afa24 (patch)
tree1228f7167bdcced0ca45fbd388c2e4838d5ad5b1
parent8ed82d8174a666f80ab8834e3617cbe91ae740a9 (diff)
downloadffmpeg-4966b98a57f51b5d4fd9ffbf3e51f725ee1afa24.tar.gz
adjust size when not writing f2
Originally committed as revision 16930 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/mxfenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c
index 4b5348854d..2d26494049 100644
--- a/libavformat/mxfenc.c
+++ b/libavformat/mxfenc.c
@@ -597,7 +597,7 @@ static void mxf_write_mpegvideo_desc(AVFormatContext *s, AVStream *st)
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);