diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-04-05 23:00:23 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-05 23:00:23 +0200 |
commit | 47b03415f3196979839ea14f3a9625b43e232173 (patch) | |
tree | ec827a9ac17355ef1875a625dbb0ed60f0c8214a | |
parent | af2e5061bbcabf5eae780929fa25784b6127759e (diff) | |
download | ffmpeg-47b03415f3196979839ea14f3a9625b43e232173.tar.gz |
avformat/cinedec: remove redundant zero termination
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/cinedec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/cinedec.c b/libavformat/cinedec.c index d3e3e1bc1b..5e16032999 100644 --- a/libavformat/cinedec.c +++ b/libavformat/cinedec.c @@ -75,7 +75,6 @@ static int set_metadata_int(AVDictionary **dict, const char *key, int value) if (value) { char buf[64]; snprintf(buf, sizeof(buf), "%i", value); - buf[sizeof(buf) - 1] = 0; return av_dict_set(dict, key, buf, 0); } return 0; |