diff options
Diffstat (limited to 'libavformat/assdec.c')
-rw-r--r-- | libavformat/assdec.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/libavformat/assdec.c b/libavformat/assdec.c index 0fc9e8a772..ecc9a07888 100644 --- a/libavformat/assdec.c +++ b/libavformat/assdec.c @@ -20,6 +20,7 @@ */ #include "avformat.h" +#include "internal.h" #define MAX_LINESIZE 2000 @@ -30,20 +31,6 @@ typedef struct ASSContext{ unsigned int event_index; }ASSContext; -static void ff_get_line(ByteIOContext *s, char *buf, int maxlen) -{ - int i = 0; - char c; - - do{ - c = get_byte(s); - if (i < maxlen-1) - buf[i++] = c; - }while(c != '\n' && c); - - buf[i] = 0; -} - static int probe(AVProbeData *p) { const char *header= "[Script Info]"; |