ffmpeg | branch: master | Timo Rothenpieler <t...@rothenpieler.org> | Sat Sep 7 20:21:01 2024 +0200| [7e35aeda03e7feb0ec32b7da63f5091047a9cefe] | committer: Timo Rothenpieler
lavu/opt: properly initialize av_opt_set_array return value > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7e35aeda03e7feb0ec32b7da63f5091047a9cefe --- libavutil/opt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/opt.c b/libavutil/opt.c index d2af76478c..a690d839a4 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -2260,7 +2260,7 @@ int av_opt_set_array(void *obj, const char *name, int search_flags, unsigned *array_size, new_size; size_t elem_size; - int ret; + int ret = 0; o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj); if (!o || !target_obj) _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".