aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/decoder/vorbis_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder/vorbis_plugin.c b/src/decoder/vorbis_plugin.c
index 901356fe5..0f37956ae 100755
--- a/src/decoder/vorbis_plugin.c
+++ b/src/decoder/vorbis_plugin.c
@@ -355,8 +355,8 @@ vorbis_stream_decode(struct decoder *decoder,
break;
}
- if (vi->rate != audio_format.sample_rate ||
- vi->channels != audio_format.channels) {
+ if (vi->rate != (long)audio_format.sample_rate ||
+ vi->channels != (int)audio_format.channels) {
/* we don't support audio format
change yet */
g_warning("audio format change, stopping here");