[FFmpeg-cvslog] avfilter/vf_qp: Fix use of uinitialized variable
Michael Niedermayer
git at videolan.org
Tue Apr 21 22:55:00 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Apr 21 22:42:46 2015 +0200| [a79cbc0b8e774b2f9d0cabe33105c5a4f808544b] | committer: Michael Niedermayer
avfilter/vf_qp: Fix use of uinitialized variable
Found-by: <Timothy_Gu>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a79cbc0b8e774b2f9d0cabe33105c5a4f808544b
---
libavfilter/vf_qp.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavfilter/vf_qp.c b/libavfilter/vf_qp.c
index e4b6bf0..33d3949 100644
--- a/libavfilter/vf_qp.c
+++ b/libavfilter/vf_qp.c
@@ -123,7 +123,6 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
double var_values[] = { !!in_qp_table, qp, x, y, s->qstride, s->h, 0};
static const char *var_names[] = { "known", "qp", "x", "y", "w", "h", NULL };
double temp_val;
- int ret;
ret = av_expr_parse_and_eval(&temp_val, s->qp_expr_str,
var_names, var_values,
More information about the ffmpeg-cvslog
mailing list