Message ID | 20230225152658.3086653-2-mypopydev@gmail.com |
---|---|
State | Accepted |
Commit | a0a0a804998da8d1a397479c9bafeb000e6be088 |
Headers | show |
Series | [FFmpeg-devel,1/2] lavfi/coreimage: suppress OpenGL deprecation warning | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
Am 25.02.23 um 16:26 schrieb Jun Zhao: > From: Jun Zhao <barryjzhao@tencent.com> > > silence the warning: variable 'o' is used uninitialized whenever > '&&' condition is false > > Signed-off-by: Jun Zhao <barryjzhao@tencent.com> > --- > fftools/ffmpeg_filter.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) LGTM. -Thilo
diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c index 1f5bbf6c4d..3504a3cc0a 100644 --- a/fftools/ffmpeg_filter.c +++ b/fftools/ffmpeg_filter.c @@ -362,7 +362,7 @@ fail: static int filter_opt_apply(AVFilterContext *f, const char *key, const char *val) { - const AVOption *o; + const AVOption *o = NULL; int ret; ret = av_opt_set(f, key, val, AV_OPT_SEARCH_CHILDREN);