aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/f_bench.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-03-05 01:55:44 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2016-03-05 02:04:57 +0100
commitb3dc51dd571f0852d47e67c4c02fc7eb73720059 (patch)
treea7bbeb50347a5de2ba44037f76cbb0665f450bd2 /libavfilter/f_bench.c
parentdec816f92c7cf0bbb0f30c095db05145687c6100 (diff)
downloadffmpeg-b3dc51dd571f0852d47e67c4c02fc7eb73720059.tar.gz
avfilter/f_bench: Fix comparission condition
Fixes: CID1355115 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter/f_bench.c')
-rw-r--r--libavfilter/f_bench.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/f_bench.c b/libavfilter/f_bench.c
index b2eff2ca52..b7b179209a 100644
--- a/libavfilter/f_bench.c
+++ b/libavfilter/f_bench.c
@@ -68,7 +68,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
if (s->action == ACTION_START) {
av_dict_set_int(&in->metadata, START_TIME_KEY, t, 0);
- } else if (s->action = ACTION_STOP) {
+ } else if (s->action == ACTION_STOP) {
AVDictionaryEntry *e = av_dict_get(in->metadata, START_TIME_KEY, NULL, 0);
if (e) {
const int64_t start = strtoll(e->value, NULL, 0);