summaryrefslogtreecommitdiff
path: root/libavformat/asfenc.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/asfenc.c
parentb92c5452822f9f58d33daf933a0d2a5516866bc1 (diff)
avio: avio_ prefix for url_close_dyn_buf
Diffstat (limited to 'libavformat/asfenc.c')
-rw-r--r--libavformat/asfenc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/asfenc.c b/libavformat/asfenc.c
index 40ccc19a32..f9cc609eef 100644
--- a/libavformat/asfenc.c
+++ b/libavformat/asfenc.c
@@ -238,7 +238,7 @@ static void put_str16(AVIOContext *s, const char *tag)
return;
avio_put_str16le(dyn_buf, tag);
- len = url_close_dyn_buf(dyn_buf, &pb);
+ len = avio_close_dyn_buf(dyn_buf, &pb);
avio_wl16(s, len);
avio_write(s, pb, len);
av_freep(&pb);
@@ -375,7 +375,7 @@ static int asf_write_header1(AVFormatContext *s, int64_t file_size, int64_t data
len = tags[n] ? avio_put_str16le(dyn_buf, tags[n]->value) : 0;
avio_wl16(pb, len);
}
- len = url_close_dyn_buf(dyn_buf, &buf);
+ len = avio_close_dyn_buf(dyn_buf, &buf);
avio_write(pb, buf, len);
av_freep(&buf);
end_header(pb, hpos);
@@ -501,7 +501,7 @@ static int asf_write_header1(AVFormatContext *s, int64_t file_size, int64_t data
return AVERROR(ENOMEM);
avio_put_str16le(dyn_buf, desc);
- len = url_close_dyn_buf(dyn_buf, &buf);
+ len = avio_close_dyn_buf(dyn_buf, &buf);
avio_wl16(pb, len / 2); // "number of characters" = length in bytes / 2
avio_write(pb, buf, len);