mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
audio-converter: remove unneeded check for unsigned < 0
Commit ff6d1a2a25
changed sample's type from
gint to gsize (and renamed it to in_samples). gsize is an unsigned long,
which means it can never be a negative value and the check making sure that
in_samples is >= 0 is never going to be false. Removing it.
CID 1338689
This commit is contained in:
parent
b0b0536f91
commit
df16e8dd5a
1 changed files with 0 additions and 1 deletions
|
@ -394,7 +394,6 @@ gst_audio_converter_samples (GstAudioConverter * convert,
|
|||
g_return_val_if_fail (convert != NULL, FALSE);
|
||||
g_return_val_if_fail (src != NULL, FALSE);
|
||||
g_return_val_if_fail (dst != NULL, FALSE);
|
||||
g_return_val_if_fail (in_samples >= 0, FALSE);
|
||||
g_return_val_if_fail (out_samples != NULL, FALSE);
|
||||
|
||||
if (in_samples == 0) {
|
||||
|
|
Loading…
Reference in a new issue