[FFmpeg-devel] [PATCH 1/8] rename get_line to ff_get_line
Aurelien Jacobs
aurel
Wed Jul 21 11:52:50 CEST 2010
---
libavformat/assdec.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/assdec.c b/libavformat/assdec.c
index 676fb39..0fc9e8a 100644
--- a/libavformat/assdec.c
+++ b/libavformat/assdec.c
@@ -30,7 +30,7 @@ typedef struct ASSContext{
unsigned int event_index;
}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;
char c;
@@ -108,7 +108,7 @@ static int read_header(AVFormatContext *s, AVFormatParameters *ap)
while(!url_feof(pb)){
uint8_t line[MAX_LINESIZE];
- get_line(pb, line, sizeof(line));
+ ff_get_line(pb, line, sizeof(line));
if(!memcmp(line, "[Events]", 8))
header_remaining= 2;
More information about the ffmpeg-devel
mailing list