mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
avio: avio: avio_ prefixes for put_* functions
In the name of consistency: put_byte -> avio_w8 put_<type> -> avio_w<type> put_buffer -> avio_write put_nbyte will be made private put_tag will be merged with avio_put_str Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:

committed by
Ronald S. Bultje

parent
78e2380a6d
commit
77eb5504d3
@ -49,7 +49,7 @@ static int crc_write_trailer(struct AVFormatContext *s)
|
||||
char buf[64];
|
||||
|
||||
snprintf(buf, sizeof(buf), "CRC=0x%08x\n", crc->crcval);
|
||||
put_buffer(s->pb, buf, strlen(buf));
|
||||
avio_write(s->pb, buf, strlen(buf));
|
||||
put_flush_packet(s->pb);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user