fix index edit rate, inverse num and den
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Wed, 25 Feb 2009 08:09:13 +0000 (08:09 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Wed, 25 Feb 2009 08:09:13 +0000 (08:09 +0000)
Originally committed as revision 17583 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/mxfenc.c

index bdcbcd7..ab71b26 100644 (file)
@@ -1049,8 +1049,8 @@ static void mxf_write_index_table_segment(AVFormatContext *s)
 
     // index edit rate
     mxf_write_local_tag(pb, 8, 0x3F0B);
-    put_be32(pb, mxf->time_base.num);
     put_be32(pb, mxf->time_base.den);
+    put_be32(pb, mxf->time_base.num);
 
     // index start position
     mxf_write_local_tag(pb, 8, 0x3F0C);