summaryrefslogtreecommitdiff
path: root/libavformat/mkvtimestamp_v2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/mkvtimestamp_v2.c')
-rw-r--r--libavformat/mkvtimestamp_v2.c1
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;
}