summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec_latm.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-17 08:16:07 +0100
committerAnton Khirnov <anton@khirnov.net>2011-04-03 22:47:05 +0200
commit6dc7d80de7236d04a6ee30f0e4cd03f055893bcf (patch)
tree77a8c7064de540bb0d7828410b727e74749a604f /libavformat/rtpdec_latm.c
parentb92c5452822f9f58d33daf933a0d2a5516866bc1 (diff)
downloadffmpeg-6dc7d80de7236d04a6ee30f0e4cd03f055893bcf.tar.gz
avio: avio_ prefix for url_close_dyn_buf
Diffstat (limited to 'libavformat/rtpdec_latm.c')
-rw-r--r--libavformat/rtpdec_latm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/rtpdec_latm.c b/libavformat/rtpdec_latm.c
index e3f1604a54..5bf4c1964e 100644
--- a/libavformat/rtpdec_latm.c
+++ b/libavformat/rtpdec_latm.c
@@ -43,7 +43,7 @@ static void latm_free_context(PayloadContext *data)
return;
if (data->dyn_buf) {
uint8_t *p;
- url_close_dyn_buf(data->dyn_buf, &p);
+ avio_close_dyn_buf(data->dyn_buf, &p);
av_free(p);
}
av_free(data->buf);
@@ -60,7 +60,7 @@ static int latm_parse_packet(AVFormatContext *ctx, PayloadContext *data,
if (!data->dyn_buf || data->timestamp != *timestamp) {
av_freep(&data->buf);
if (data->dyn_buf)
- url_close_dyn_buf(data->dyn_buf, &data->buf);
+ avio_close_dyn_buf(data->dyn_buf, &data->buf);
data->dyn_buf = NULL;
av_freep(&data->buf);
@@ -73,7 +73,7 @@ static int latm_parse_packet(AVFormatContext *ctx, PayloadContext *data,
if (!(flags & RTP_FLAG_MARKER))
return AVERROR(EAGAIN);
av_free(data->buf);
- data->len = url_close_dyn_buf(data->dyn_buf, &data->buf);
+ data->len = avio_close_dyn_buf(data->dyn_buf, &data->buf);
data->dyn_buf = NULL;
data->pos = 0;
}