diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-09-09 21:35:23 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-09-15 18:25:07 +0200 |
commit | 3b4bb19e63b41a0a542ba3ef254443b2e76a6a3e (patch) | |
tree | 8a4168cce911a68fa1f807881a9a9cd240f663ca /libavformat/assenc.c | |
parent | 0c270239c2acec8cf2f3924e2b956e15a41e8d1c (diff) | |
download | ffmpeg-3b4bb19e63b41a0a542ba3ef254443b2e76a6a3e.tar.gz |
lavf: flush the output AVIOContext in av_write_trailer().
This is consistent with stdio and is what we want to do in all cases.
Fixes a bug in the voc muxer which didn't flush in write_trailer()
previously. This is the cause of the change in the test results.
Diffstat (limited to 'libavformat/assenc.c')
-rw-r--r-- | libavformat/assenc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/assenc.c b/libavformat/assenc.c index 1ae8680597..5bf2e20134 100644 --- a/libavformat/assenc.c +++ b/libavformat/assenc.c @@ -72,8 +72,6 @@ static int write_trailer(AVFormatContext *s) avio_write(s->pb, avctx->extradata + ass->extra_index, avctx->extradata_size - ass->extra_index); - avio_flush(s->pb); - return 0; } |