mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
avio: rename put_flush_packet -> avio_flush
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:

committed by
Ronald S. Bultje

parent
35f1023592
commit
b7f2fdde74
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user