adjust size when not writing f2

Originally committed as revision 16930 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Baptiste Coudurier 16 years ago
parent 8ed82d8174
commit 4966b98a57
  1. 2
      libavformat/mxfenc.c

@ -597,7 +597,7 @@ static void mxf_write_mpegvideo_desc(AVFormatContext *s, AVStream *st)
AVRational dar; AVRational dar;
int f1, f2; 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); mxf_write_local_tag(pb, 4, 0x3203);
put_be32(pb, st->codec->width); put_be32(pb, st->codec->width);

Loading…
Cancel
Save