Commit ab7ab03b authored by Erik de Castro Lopo's avatar Erik de Castro Lopo
Browse files

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

MSVC doesn't have snprintf().

Patch-from: lvqcl <>
parent 64d4322b
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment