flush pending write in mxf_write_footer
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Wed, 18 Feb 2009 01:43:40 +0000 (01:43 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Wed, 18 Feb 2009 01:43:40 +0000 (01:43 +0000)
Originally committed as revision 17416 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/mxfenc.c

index 71f8f5b..9d5eb3c 100644 (file)
@@ -1770,6 +1770,8 @@ static int mxf_write_footer(AVFormatContext *s)
         }
     }
 
+    put_flush_packet(pb);
+
     ff_audio_interleave_close(s);
 
     av_freep(&mxf->index_entries);