This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 82b39de805c4046b5cfb979d006b05b427469edb Author: Zhao Zhili <[email protected]> AuthorDate: Mon Mar 16 11:35:49 2026 +0800 Commit: James Almer <[email protected]> CommitDate: Mon Mar 16 13:26:52 2026 +0000 avformat/lcevc: fix memleak on write_nalu() failure Signed-off-by: Zhao Zhili <[email protected]> --- libavformat/lcevc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/lcevc.c b/libavformat/lcevc.c index 1cadefce11..df87e6c9cc 100644 --- a/libavformat/lcevc.c +++ b/libavformat/lcevc.c @@ -226,13 +226,13 @@ int ff_isom_write_lvcc(AVIOContext *pb, const uint8_t *data, int len) ret = write_nalu(&lvcc, idr_pb, nal); if (ret < 0) - return ret; + goto fail; } else if (nal->type == LCEVC_NON_IDR_NUT) { nb_nidr++; ret = write_nalu(&lvcc, nidr_pb, nal); if (ret < 0) - return ret; + goto fail; } } idr_size = avio_get_dyn_buf(idr_pb, &idr); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
