diff options
Diffstat (limited to 'apps/plugins/flac2wav.c')
-rw-r--r-- | apps/plugins/flac2wav.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/flac2wav.c b/apps/plugins/flac2wav.c index b9207eeafe..c90cf0d633 100644 --- a/apps/plugins/flac2wav.c +++ b/apps/plugins/flac2wav.c | |||
@@ -19,8 +19,8 @@ | |||
19 | 19 | ||
20 | #include "plugin.h" | 20 | #include "plugin.h" |
21 | 21 | ||
22 | #if (CONFIG_HWCODEC == MASNONE) && !defined(SIMULATOR) | 22 | #if (CONFIG_HWCODEC == MASNONE) |
23 | /* software codec platforms, not for simulator */ | 23 | /* software codec platforms */ |
24 | 24 | ||
25 | #include <codecs/libFLAC/include/FLAC/seekable_stream_decoder.h> | 25 | #include <codecs/libFLAC/include/FLAC/seekable_stream_decoder.h> |
26 | 26 | ||
@@ -65,7 +65,7 @@ FLAC__StreamDecoderWriteStatus flac_write_handler(const FLAC__SeekableStreamDeco | |||
65 | if (samples*frame->header.channels > (FLAC_MAX_SUPPORTED_BLOCKSIZE*FLAC_MAX_SUPPORTED_CHANNELS)) { | 65 | if (samples*frame->header.channels > (FLAC_MAX_SUPPORTED_BLOCKSIZE*FLAC_MAX_SUPPORTED_CHANNELS)) { |
66 | // ERROR!!! | 66 | // ERROR!!! |
67 | #ifdef SIMULATOR | 67 | #ifdef SIMULATOR |
68 | fprintf(stderr,"ERROR: samples*frame->header.channels=%d\n",samples*frame->header.channels); | 68 | printf("ERROR: samples*frame->header.channels=%d\n",samples*frame->header.channels); |
69 | #endif | 69 | #endif |
70 | return(FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE); | 70 | return(FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE); |
71 | } | 71 | } |