mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
avformat/hashenc: add missing avio_flush to hash_write_trailer
It was accidentally deleted in the previous hashenc commit Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
487c346d98
commit
b63ba3a517
@ -79,6 +79,7 @@ static int hash_write_trailer(struct AVFormatContext *s)
|
||||
av_hash_final_hex(c->hash, buf + strlen(buf), sizeof(buf) - strlen(buf));
|
||||
av_strlcatf(buf, sizeof(buf), "\n");
|
||||
avio_write(s->pb, buf, strlen(buf));
|
||||
avio_flush(s->pb);
|
||||
|
||||
av_hash_freep(&c->hash);
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user