Commit 7d5fdf90 authored by Baptiste Coudurier's avatar Baptiste Coudurier
Browse files

always write footer partition according to specs

Originally committed as revision 15100 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 9cf8ebe3
......@@ -857,11 +857,10 @@ static int mxf_write_footer(AVFormatContext *s)
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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment