summaryrefslogtreecommitdiff
path: root/libavformat/hashenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/hashenc.c')
-rw-r--r--libavformat/hashenc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/hashenc.c b/libavformat/hashenc.c
index 34a8fd1f50..ddc67f53b5 100644
--- a/libavformat/hashenc.c
+++ b/libavformat/hashenc.c
@@ -152,7 +152,6 @@ static int hash_write_trailer(struct AVFormatContext *s)
av_hash_final_hex(c->hashes[i], buf + strlen(buf), sizeof(buf) - strlen(buf));
av_strlcatf(buf, sizeof(buf), "\n");
avio_write(s->pb, buf, strlen(buf));
- avio_flush(s->pb);
}
return 0;