This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/9.1 in repository ffmpeg.
commit 1255ecfa68271f14eaa36d97a658ef92272a22d5 Author: Zhao Zhili <[email protected]> AuthorDate: Thu Oct 29 20:34:58 2026 +0800 Commit: James Almer <[email protected]> CommitDate: Tue Nov 24 20:17:30 2026 -0300 avcodec/lcevcdec: release the context when option parsing fails Signed-off-by: Zhao Zhili <[email protected]> (cherry picked from commit 81cf906e7587874b6741b69efb401ed4308ca086) --- libavcodec/lcevcdec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/lcevcdec.c b/libavcodec/lcevcdec.c index 3ce50af47e..e3d28c7a18 100644 --- a/libavcodec/lcevcdec.c +++ b/libavcodec/lcevcdec.c @@ -606,11 +606,12 @@ int ff_lcevc_alloc(FFLCEVCContext **plcevc, AVDictionary **options, int loglevel ret = av_opt_set_dict2(lcevc, options, 0); if (ret < 0) - return ret; + goto fail; if (t = av_dict_iterate(*options, NULL)) { av_log(NULL, AV_LOG_FATAL, "liblcevc-dec option %s not found.\n", t->key); - return AVERROR_OPTION_NOT_FOUND; + ret = AVERROR_OPTION_NOT_FOUND; + goto fail; } lcevc->frag = av_mallocz(sizeof(*lcevc->frag)); -- 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]
