adjust size when not writing f2

Originally committed as revision 16930 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2009-02-02 04:00:27 +00:00
parent 8ed82d8174
commit 4966b98a57
1 changed files with 1 additions and 1 deletions

View File

@ -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);