avfilter/f_bench: Fix comparission condition
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 5 Mar 2016 00:55:44 +0000 (01:55 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 5 Mar 2016 01:04:57 +0000 (02:04 +0100)
Fixes: CID1355115

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavfilter/f_bench.c

index b2eff2c..b7b1792 100644 (file)
@@ -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);