Browse Source

adjust size when not writing f2

Originally committed as revision 16930 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Baptiste Coudurier 16 years ago
parent
commit
4966b98a57
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/mxfenc.c

+ 1
- 1
libavformat/mxfenc.c View File

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