You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Merge commit '7915e6741dbe1cf3a8781cead3e68a7666de14f4'
* commit '7915e6741dbe1cf3a8781cead3e68a7666de14f4': hlsproto: Properly close avio buffer in case of error Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -121,8 +121,10 @@ static int parse_playlist(URLContext *h, const char *url)
|
|||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
read_chomp_line(in, line, sizeof(line));
|
read_chomp_line(in, line, sizeof(line));
|
||||||
if (strcmp(line, "#EXTM3U"))
|
if (strcmp(line, "#EXTM3U")) {
|
||||||
return AVERROR_INVALIDDATA;
|
ret = AVERROR_INVALIDDATA;
|
||||||
|
goto fail;
|
||||||
|
}
|
||||||
|
|
||||||
free_segment_list(s);
|
free_segment_list(s);
|
||||||
s->finished = 0;
|
s->finished = 0;
|
||||||
|
Reference in New Issue
Block a user