aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-09-21 20:59:30 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-09-21 20:59:30 +0200
commit21a2b97365b566cf9c6e526b5165dde4673b526e (patch)
treed633afbd31bce73c023eecd3851c22a25fcc8baf
parenta072acb108f38bc99b53476a50ea04b7500ce910 (diff)
downloadffmpeg-21a2b97365b566cf9c6e526b5165dde4673b526e.tar.gz
avformat/hls: do not limit manifest lines to 1024 chars
Fixes Ticket2976 Debuged-by: jaimeMF Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/hls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 8554b7e84f..231f63062e 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -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;