mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-02 18:07:47 +00: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>
(cherry picked from commit 77eb5504d3
)
This commit is contained in:
parent
e48fe14a54
commit
e9eb8d0bce
59 changed files with 1782 additions and 1747 deletions
|
@ -179,7 +179,7 @@ static int xiph_handle_packet(AVFormatContext * ctx,
|
|||
if((res = url_open_dyn_buf(&data->fragment)) < 0)
|
||||
return res;
|
||||
|
||||
put_buffer(data->fragment, buf, pkt_len);
|
||||
avio_write(data->fragment, buf, pkt_len);
|
||||
data->timestamp = *timestamp;
|
||||
|
||||
} else {
|
||||
|
@ -198,7 +198,7 @@ static int xiph_handle_packet(AVFormatContext * ctx,
|
|||
}
|
||||
|
||||
// copy data to fragment buffer
|
||||
put_buffer(data->fragment, buf, pkt_len);
|
||||
avio_write(data->fragment, buf, pkt_len);
|
||||
|
||||
if (fragmented == 3) {
|
||||
// end of xiph data packet
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue