[FFmpeg-cvslog] r15100 - trunk/libavformat/mxfenc.c

bcoudurier subversion
Sun Aug 31 05:01:07 CEST 2008


Author: bcoudurier
Date: Sun Aug 31 05:01:07 2008
New Revision: 15100

Log:
always write footer partition according to specs

Modified:
   trunk/libavformat/mxfenc.c

Modified: trunk/libavformat/mxfenc.c
==============================================================================
--- trunk/libavformat/mxfenc.c	(original)
+++ trunk/libavformat/mxfenc.c	Sun Aug 31 05:01:07 2008
@@ -857,11 +857,10 @@ static int mxf_write_footer(AVFormatCont
     ByteIOContext *pb = s->pb;
     int64_t byte_position= url_ftell(pb);
 
-    if (!url_is_streamed(s->pb)) {
-        mxf_write_partition(s, byte_position, 0, footer_partition_key);
-        put_flush_packet(pb);
+    mxf_write_partition(s, byte_position, 0, footer_partition_key);
+    put_flush_packet(pb);
+    if (!url_is_streamed(s->pb))
         mxf_update_header_partition(s, byte_position);
-    }
     mxf_free(s);
     return 0;
 }




More information about the ffmpeg-cvslog mailing list