avformat/hls: do not limit manifest lines to 1024 chars
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 21 Sep 2013 18:59:30 +0000 (20:59 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 21 Sep 2013 18:59:30 +0000 (20:59 +0200)
Fixes Ticket2976
Debuged-by: jaimeMF
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/hls.c

index 8554b7e..231f630 100644 (file)
@@ -212,7 +212,7 @@ static int parse_playlist(HLSContext *c, const char *url,
     uint8_t iv[16] = "";
     int has_iv = 0;
     char key[MAX_URL_SIZE] = "";
-    char line[1024];
+    char line[MAX_URL_SIZE];
     const char *ptr;
     int close_in = 0;