diff options
Diffstat (limited to 'libavformat/ffmetaenc.c')
-rw-r--r-- | libavformat/ffmetaenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/ffmetaenc.c b/libavformat/ffmetaenc.c index 70940c0e09..596185b70c 100644 --- a/libavformat/ffmetaenc.c +++ b/libavformat/ffmetaenc.c @@ -53,7 +53,7 @@ static int write_header(AVFormatContext *s) avio_write(s->pb, ID_STRING, sizeof(ID_STRING) - 1); avio_w8(s->pb, '1'); // version avio_w8(s->pb, '\n'); - put_flush_packet(s->pb); + avio_flush(s->pb); return 0; } @@ -79,7 +79,7 @@ static int write_trailer(AVFormatContext *s) write_tags(s->pb, ch->metadata); } - put_flush_packet(s->pb); + avio_flush(s->pb); return 0; } |