summaryrefslogtreecommitdiff
path: root/libavformat/asfdec.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-11-14 00:53:50 +0100
committerClément Bœsch <ubitux@gmail.com>2011-11-14 07:22:30 +0100
commit53d70a334ad8fa081758e02b285863da276af051 (patch)
treea7e0f775cf11ab908285663f814f44cf5f9f99a1 /libavformat/asfdec.c
parent39edfcc9e8cc107b4e4ba42ba16f745eaada6db8 (diff)
Rename remaining get_buffer to avio_read.
Diffstat (limited to 'libavformat/asfdec.c')
-rw-r--r--libavformat/asfdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index 6cd771ee89..47fde899fb 100644
--- a/libavformat/asfdec.c
+++ b/libavformat/asfdec.c
@@ -166,7 +166,7 @@ static void get_tag(AVFormatContext *s, const char *key, int type, int len)
if (type == 0) { // UTF16-LE
avio_get_str16le(s->pb, len, value, 2*len + 1);
} else if (type == -1) { // ASCII
- get_buffer(s->pb, value, len);
+ avio_read(s->pb, value, len);
value[len]=0;
} else if (type > 1 && type <= 5) { // boolean or DWORD or QWORD or WORD
uint64_t num = get_value(s->pb, type);