Hi Dylan,
See below for a report from the Coverity static analysis tool - the variable
err isn't initialised in all paths leading to the fail-and-return. Would you
like to fix this?
Also, following is a patch to your filter for you to review (try it, decide
whether it's correct, make any appropriate comments).
Thanks,
- Mark
---
*** CID 1430382: Uninitialized variables (UNINIT)
/libavfilter/vf_avgblur_opencl.c: 254 in avgblur_opencl_filter_frame()
248
249 fail:
250 clFinish(ctx->command_queue);
251 av_frame_free(&input);
252 av_frame_free(&output);
253 av_frame_free(&intermediate);
>>> CID 1430382: Uninitialized variables (UNINIT)
>>> Using uninitialized value "err".
254 return err;
255 }
256
257 static av_cold void avgblur_opencl_uninit(AVFilterContext *avctx)
258 {
259 AverageBlurOpenCLContext *ctx = avctx->priv;
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel