avfilter/vf_readeia608: Use av_dict_set_int()

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
pull/369/head
Andreas Rheinhardt 3 years ago
parent 403d8c0188
commit f748ca801e
  1. 3
      libavfilter/vf_readeia608.c

@ -491,8 +491,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
av_dict_set(&in->metadata, key, value, 0);
snprintf(key, sizeof(key), "lavfi.readeia608.%d.line", nb_found);
snprintf(value, sizeof(value), "%d", scan->nb_line);
av_dict_set(&in->metadata, key, value, 0);
av_dict_set_int(&in->metadata, key, scan->nb_line, 0);
nb_found++;
}

Loading…
Cancel
Save