[FFmpeg-cvslog] avfilter/vf_liplacebo: properly initialize variable
Niklas Haas
git at videolan.org
Thu Feb 27 20:02:33 EET 2025
ffmpeg | branch: master | Niklas Haas <git at haasn.dev> | Wed Feb 19 19:30:29 2025 +0100| [05302767ac2b14f560f70d0a3e99de151b3e9539] | committer: Niklas Haas
avfilter/vf_liplacebo: properly initialize variable
Signed-off-by: Niklas Haas <git at haasn.dev>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=05302767ac2b14f560f70d0a3e99de151b3e9539
---
libavfilter/vf_libplacebo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_libplacebo.c b/libavfilter/vf_libplacebo.c
index e47c5f9c7d..f457564afa 100644
--- a/libavfilter/vf_libplacebo.c
+++ b/libavfilter/vf_libplacebo.c
@@ -821,7 +821,7 @@ static void update_crops(AVFilterContext *ctx, LibplaceboInput *in,
/* Construct and emit an output frame for a given timestamp */
static int output_frame(AVFilterContext *ctx, int64_t pts)
{
- int err = 0, ok, changed;
+ int err = 0, ok, changed = 0;
LibplaceboContext *s = ctx->priv;
pl_options opts = s->opts;
AVFilterLink *outlink = ctx->outputs[0];
More information about the ffmpeg-cvslog
mailing list