aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-09-03 15:18:43 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-09-03 15:18:57 +0200
commit40bb950385a470cb8e453f727ee0a9417c654a64 (patch)
tree4ac28ce27bf5d7699cdfdc74d19de322c92ec67e
parent4cfe3b7405431060900d8a05402c2f14ec99f034 (diff)
parent0fbda03e5cfce9d37a263abd08947e5a64ed8ee9 (diff)
downloadffmpeg-40bb950385a470cb8e453f727ee0a9417c654a64.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: movenc: Don't flush after each written packet Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/movenc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index b6c57ade88..5d231c9705 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -3273,8 +3273,6 @@ int ff_mov_write_packet(AVFormatContext *s, AVPacket *pkt)
trk->sample_count += samples_in_chunk;
mov->mdat_size += size;
- avio_flush(pb);
-
if (trk->hint_track >= 0 && trk->hint_track < mov->nb_streams)
ff_mov_add_hinted_packet(s, pkt, trk->hint_track, trk->entry,
reformatted_data, size);