mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
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>
This commit is contained in:
parent
403d8c0188
commit
f748ca801e
@ -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…
x
Reference in New Issue
Block a user