summaryrefslogtreecommitdiff
path: root/libavformat/iss.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/iss.c')
-rw-r--r--libavformat/iss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/iss.c b/libavformat/iss.c
index 85b7e5fbdc..04bb1c52d4 100644
--- a/libavformat/iss.c
+++ b/libavformat/iss.c
@@ -44,7 +44,7 @@ static void get_token(AVIOContext *s, char *buf, int maxlen)
int i = 0;
char c;
- while ((c = get_byte(s))) {
+ while ((c = avio_r8(s))) {
if(c == ' ')
break;
if (i < maxlen-1)
@@ -52,7 +52,7 @@ static void get_token(AVIOContext *s, char *buf, int maxlen)
}
if(!c)
- get_byte(s);
+ avio_r8(s);
buf[i] = 0; /* Ensure null terminated, but may be truncated */
}