From be9212ba84a43a1c7ce4c4dcf179bb9ef08929f7 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 9 Sep 2008 10:05:15 +0200 Subject: audio: moved cmpAudioFormat() to audio_format.h Rename it to audio_format_equals() and return "true" if they are equal. --- src/decoder_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/decoder_api.c') 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 { -- cgit v1.2.3