summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@osg.samsung.com>2016-02-29 10:10:24 +0000
committerLuis de Bethencourt <luisbg@osg.samsung.com>2016-02-29 10:11:38 +0000
commit5dcf1a4f69b671e2c7f7a04f73fe0e4f0c27f857 (patch)
treea36e9ebc5cf4de3e89de183bb55b776312c7bd66
parentd089cd5a12bfd4bdf9a95650d6a7428c3dff69c7 (diff)
downloadgstreamer-plugins-good-5dcf1a4f69b671e2c7f7a04f73fe0e4f0c27f857.tar.gz
matroska-demux: remove impossible condition
It is impossible for a guint to have a negative value, no need to check for this. Introduced in commit 6861d11c49ea0f30d2432cf4ebf6108bc89897f1 CID 1354509
-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;