diff options
Diffstat (limited to 'libavformat/cinedec.c')
-rw-r--r-- | libavformat/cinedec.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavformat/cinedec.c b/libavformat/cinedec.c index 372088495e..7daf0e0190 100644 --- a/libavformat/cinedec.c +++ b/libavformat/cinedec.c @@ -73,9 +73,7 @@ static int cine_read_probe(AVProbeData *p) static int set_metadata_int(AVDictionary **dict, const char *key, int value) { if (value) { - char buf[64]; - snprintf(buf, sizeof(buf), "%i", value); - return av_dict_set(dict, key, buf, 0); + return av_dict_set_int(dict, key, value, 0); } return 0; } |