avformat/hls: do not limit manifest lines to 1024 chars

Fixes Ticket2976
Debuged-by: jaimeMF
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-09-21 20:59:30 +02:00
parent a072acb108
commit 21a2b97365

View 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;