History

avfilter/vf_readeia608: Use av_dict_set_int()

Andreas Rheinhardt committed 5 years ago

Commit f748ca81 parent 403d8c01 file · +1 −2Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/vf_readeia608.c+1−2
@@ -491,8 +491,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) · 490 unmodified lines
491491 av_dict_set(&in->metadata, key, value, 0);
492492
493493 snprintf(key, sizeof(key), "lavfi.readeia608.%d.line", nb_found);
494− snprintf(value, sizeof(value), "%d", scan->nb_line);
495− av_dict_set(&in->metadata, key, value, 0);
494+ av_dict_set_int(&in->metadata, key, scan->nb_line, 0);
496495
497496 nb_found++;
498497 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t