Browse Source

avformat/cinedec: remove redundant zero termination

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer 11 years ago
parent
commit
47b03415f3
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavformat/cinedec.c

+ 0
- 1
libavformat/cinedec.c View File

@@ -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;


Loading…
Cancel
Save