summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst/matroska/matroska-demux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c
index 81f60d256..391e274d0 100644
--- a/gst/matroska/matroska-demux.c
+++ b/gst/matroska/matroska-demux.c
@@ -5623,7 +5623,7 @@ gst_matroska_demux_audio_caps (GstMatroskaTrackAudioContext *
*codec_name = g_strdup ("Opus");
} else if (context->codec_priv_size == 0) {
GST_WARNING ("No Opus codec data found, trying to create one");
- if (audiocontext->channels >= 0 && audiocontext->channels <= 2) {
+ if (audiocontext->channels <= 2) {
guint8 streams, coupled, channels;
guint32 samplerate;