Browse Source

avfilter/f_bench: Fix comparission condition

Fixes: CID1355115

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.1
Michael Niedermayer 10 years ago
parent
commit
b3dc51dd57
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/f_bench.c

+ 1
- 1
libavfilter/f_bench.c View 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);


Loading…
Cancel
Save