mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-14 19:25:01 +00:00
always write footer partition according to specs
Originally committed as revision 15100 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
9cf8ebe38a
commit
7d5fdf900b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user