diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-03-25 03:23:46 +0400 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-04-14 23:16:53 +0400 |
commit | 8de9bb6e5e527e2bcc8b2cff2da4107ecef23421 (patch) | |
tree | 3e15b14b5c1eb821c49b232e9362eb6921cdbfc1 /libavformat/mkvtimestamp_v2.c | |
parent | bc1847addf34a6c9216512b458f6a993c60461cb (diff) |
lavf: remove some flushing in write_packet muxers callbacks.
Since 4f112a8e3, this is not necessary anymore. Also, it allows to
actually disable the flushing.
Diffstat (limited to 'libavformat/mkvtimestamp_v2.c')
-rw-r--r-- | libavformat/mkvtimestamp_v2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/mkvtimestamp_v2.c b/libavformat/mkvtimestamp_v2.c index 3ed195ac5c..7ba6691952 100644 --- a/libavformat/mkvtimestamp_v2.c +++ b/libavformat/mkvtimestamp_v2.c @@ -37,7 +37,6 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt) av_log(s, AV_LOG_WARNING, "More than one stream unsupported\n"); snprintf(buf, sizeof(buf), "%" PRId64 "\n", pkt->dts); avio_write(s->pb, buf, strlen(buf)); - avio_flush(s->pb); return 0; } |