summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsezero <sezero@users.sourceforge.net>2019-11-11 01:12:28 +0300
committerErik de Castro Lopo <erikd@mega-nerd.com>2019-11-11 14:14:46 +1100
commit2907d4921cc4e46751c18478f5cbe1d60ce50cac (patch)
tree298870afbdce38a7182c3fb8718fd725fa1ab83d
parentb3f55c40cc6e00ee4ae1560b5449e54d3f7012b4 (diff)
downloadflac-2907d4921cc4e46751c18478f5cbe1d60ce50cac.tar.gz
flac/main.c: replace an snprintf() call with flac_snprintf()
flac_snprintf() is used everywhere else in there. that single instance of plain snprintf() was added in commit 04974d27. fixes flac.exe build with older msvc versions.
-rw-r--r--src/flac/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flac/main.c b/src/flac/main.c
index 780ccc50..8eb246ec 100644
--- a/src/flac/main.c
+++ b/src/flac/main.c
@@ -1933,7 +1933,7 @@ int encode_file(const char *infilename, FLAC__bool is_first_file, FLAC__bool is_
conditional_fclose(encode_infile);
return 1;
}
- snprintf(internal_outfilename, dest_len, "%s%s", outfilename, tmp_suffix);
+ flac_snprintf(internal_outfilename, dest_len, "%s%s", outfilename, tmp_suffix);
}
if(input_format == FORMAT_RAW) {