You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat/cinedec: remove redundant zero termination
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -75,7 +75,6 @@ static int set_metadata_int(AVDictionary **dict, const char *key, int value)
|
|||||||
if (value) {
|
if (value) {
|
||||||
char buf[64];
|
char buf[64];
|
||||||
snprintf(buf, sizeof(buf), "%i", value);
|
snprintf(buf, sizeof(buf), "%i", value);
|
||||||
buf[sizeof(buf) - 1] = 0;
|
|
||||||
return av_dict_set(dict, key, buf, 0);
|
return av_dict_set(dict, key, buf, 0);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user