mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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 6861d11c49
CID 1354509
This commit is contained in:
parent
d089cd5a12
commit
5dcf1a4f69
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue