Commit 80769fb7 authored by Aurelien Jacobs's avatar Aurelien Jacobs

rename get_line to ff_get_line

Originally committed as revision 24398 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b8b231b5
...@@ -30,7 +30,7 @@ typedef struct ASSContext{ ...@@ -30,7 +30,7 @@ typedef struct ASSContext{
unsigned int event_index; unsigned int event_index;
}ASSContext; }ASSContext;
static void get_line(ByteIOContext *s, char *buf, int maxlen) static void ff_get_line(ByteIOContext *s, char *buf, int maxlen)
{ {
int i = 0; int i = 0;
char c; char c;
...@@ -108,7 +108,7 @@ static int read_header(AVFormatContext *s, AVFormatParameters *ap) ...@@ -108,7 +108,7 @@ static int read_header(AVFormatContext *s, AVFormatParameters *ap)
while(!url_feof(pb)){ while(!url_feof(pb)){
uint8_t line[MAX_LINESIZE]; uint8_t line[MAX_LINESIZE];
get_line(pb, line, sizeof(line)); ff_get_line(pb, line, sizeof(line));
if(!memcmp(line, "[Events]", 8)) if(!memcmp(line, "[Events]", 8))
header_remaining= 2; header_remaining= 2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment