[FFmpeg-cvslog] avfilter/f_bench: Fix comparission condition

Michael Niedermayer git at videolan.org
Sat Mar 5 02:05:22 CET 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sat Mar  5 01:55:44 2016 +0100| [b3dc51dd571f0852d47e67c4c02fc7eb73720059] | committer: Michael Niedermayer

avfilter/f_bench: Fix comparission condition

Fixes: CID1355115

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b3dc51dd571f0852d47e67c4c02fc7eb73720059
---

 libavfilter/f_bench.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/f_bench.c b/libavfilter/f_bench.c
index b2eff2c..b7b1792 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);



More information about the ffmpeg-cvslog mailing list