This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 0685103bd2600cfd4467b1f5ec181777090b866b Author: Kacper Michajłow <[email protected]> AuthorDate: Tue Sep 29 11:34:13 2026 +0200 Commit: Kacper Michajłow <[email protected]> CommitDate: Tue Sep 29 18:21:05 2026 +0000 avformat/hls: free the previous segments if parsing a playlist fails Signed-off-by: Kacper Michajłow <[email protected]> --- libavformat/hls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index 93ef1bd0c0..730e8b98fe 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -1156,11 +1156,11 @@ static int parse_playlist(HLSContext *c, const char *url, av_log(c->ctx, AV_LOG_WARNING, "Media sequence changed unexpectedly: %"PRId64" -> %"PRId64"\n", prev_start_seq_no, pls->start_seq_no); } - free_segment_dynarray(prev_segments, prev_n_segments); - av_freep(&prev_segments); } fail: + free_segment_dynarray(prev_segments, prev_n_segments); + av_freep(&prev_segments); if (pls) pls->last_load_time = load_start; av_free(new_url); -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
