diff options
Diffstat (limited to 'src/decoder_api.c')
-rw-r--r-- | src/decoder_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder_api.c b/src/decoder_api.c index db1820db4..236fe5029 100644 --- a/src/decoder_api.c +++ b/src/decoder_api.c @@ -162,7 +162,7 @@ decoder_data(struct decoder *decoder, InputStream * inStream, int seekable, static size_t convBufferLen; int ret; - if (cmpAudioFormat(&(ob.audioFormat), &(dc.audioFormat)) == 0) { + if (audio_format_equals(&ob.audioFormat, &dc.audioFormat)) { data = dataIn; datalen = dataInLen; } else { |