Commit e5335308 authored by bcoudurier's avatar bcoudurier

always write footer partition according to specs

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15100 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3b5dbe9d
...@@ -857,11 +857,10 @@ static int mxf_write_footer(AVFormatContext *s) ...@@ -857,11 +857,10 @@ static int mxf_write_footer(AVFormatContext *s)
ByteIOContext *pb = s->pb; ByteIOContext *pb = s->pb;
int64_t byte_position= url_ftell(pb); int64_t byte_position= url_ftell(pb);
if (!url_is_streamed(s->pb)) {
mxf_write_partition(s, byte_position, 0, footer_partition_key); mxf_write_partition(s, byte_position, 0, footer_partition_key);
put_flush_packet(pb); put_flush_packet(pb);
if (!url_is_streamed(s->pb))
mxf_update_header_partition(s, byte_position); mxf_update_header_partition(s, byte_position);
}
mxf_free(s); mxf_free(s);
return 0; 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