src/test_streams/main.c : Use flac_snprintf() instead of snprintf().

MSVC doesn't have snprintf().

Patch-from: lvqcl <lvqcl.mail@gmail.com>
This commit is contained in:
Erik de Castro Lopo 2015-02-25 06:38:04 +11:00
parent 64d4322b66
commit ab7ab03bfa

View File

@ -1050,7 +1050,7 @@ static FLAC__bool generate_replaygain_tone (unsigned samplerate)
double pi, tone, sample, samplerange;
int k;
snprintf(fname, sizeof(fname), "rpg-tone-%u.wav", samplerate);
flac_snprintf(fname, sizeof(fname), "rpg-tone-%u.wav", samplerate);
if(0 == (f = flac_fopen(fname, "wb")))
return false;