diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-17 08:16:07 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-03 22:47:05 +0200 |
commit | 6dc7d80de7236d04a6ee30f0e4cd03f055893bcf (patch) | |
tree | 77a8c7064de540bb0d7828410b727e74749a604f /libavformat/aviobuf.c | |
parent | b92c5452822f9f58d33daf933a0d2a5516866bc1 (diff) | |
download | ffmpeg-6dc7d80de7236d04a6ee30f0e4cd03f055893bcf.tar.gz |
avio: avio_ prefix for url_close_dyn_buf
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r-- | libavformat/aviobuf.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index 53fce9e724..cb5f2790f7 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -423,6 +423,10 @@ int url_open_dyn_buf(AVIOContext **s) { return avio_open_dyn_buf(s); } +int url_close_dyn_buf(AVIOContext *s, uint8_t **pbuffer) +{ + return avio_close_dyn_buf(s, pbuffer); +} #endif int avio_put_str(AVIOContext *s, const char *str) @@ -1027,7 +1031,7 @@ int64_t ffio_read_seek(AVIOContext *s, int stream_index, return ret; } -/* avio_open_dyn_buf and url_close_dyn_buf are used in rtp.c to send a response +/* avio_open_dyn_buf and avio_close_dyn_buf are used in rtp.c to send a response * back to the server even if CONFIG_MUXERS is false. */ #if CONFIG_MUXERS || CONFIG_NETWORK /* buffer handling */ @@ -1163,7 +1167,7 @@ int url_open_dyn_packet_buf(AVIOContext **s, int max_packet_size) return url_open_dyn_buf_internal(s, max_packet_size); } -int url_close_dyn_buf(AVIOContext *s, uint8_t **pbuffer) +int avio_close_dyn_buf(AVIOContext *s, uint8_t **pbuffer) { DynBuffer *d = s->opaque; int size; |