aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/asfenc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-17 08:13:34 +0100
committerAnton Khirnov <anton@khirnov.net>2011-04-03 22:46:56 +0200
commitb92c5452822f9f58d33daf933a0d2a5516866bc1 (patch)
tree8e837202fc801d8f0de5e8be08b691a7d357cde9 /libavformat/asfenc.c
parent8978fedaeefdff50ed4deefbfe822ad07f19f616 (diff)
downloadffmpeg-b92c5452822f9f58d33daf933a0d2a5516866bc1.tar.gz
avio: avio_ prefix for url_open_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 c029c0e163..40ccc19a32 100644
--- a/libavformat/asfenc.c
+++ b/libavformat/asfenc.c
@@ -234,7 +234,7 @@ static void put_str16(AVIOContext *s, const char *tag)
int len;
uint8_t *pb;
AVIOContext *dyn_buf;
- if (url_open_dyn_buf(&dyn_buf) < 0)
+ if (avio_open_dyn_buf(&dyn_buf) < 0)
return;
avio_put_str16le(dyn_buf, tag);
@@ -366,7 +366,7 @@ static int asf_write_header1(AVFormatContext *s, int64_t file_size, int64_t data
uint8_t *buf;
AVIOContext *dyn_buf;
- if (url_open_dyn_buf(&dyn_buf) < 0)
+ if (avio_open_dyn_buf(&dyn_buf) < 0)
return AVERROR(ENOMEM);
hpos = put_header(pb, &ff_asf_comment_header);
@@ -497,7 +497,7 @@ static int asf_write_header1(AVFormatContext *s, int64_t file_size, int64_t data
else
desc = p ? p->name : enc->codec_name;
- if ( url_open_dyn_buf(&dyn_buf) < 0)
+ if ( avio_open_dyn_buf(&dyn_buf) < 0)
return AVERROR(ENOMEM);
avio_put_str16le(dyn_buf, desc);