mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
omxaudiodec: impossible if statement
ret is set to GST_STATE_CHANGE_SUCCESS and never touched, so it is impossible for it to be anything else at the if check. Remove it. CID #1287054
This commit is contained in:
parent
a8d26ff27a
commit
964cb549bb
1 changed files with 0 additions and 3 deletions
|
@ -257,9 +257,6 @@ gst_omx_audio_dec_change_state (GstElement * element, GstStateChange transition)
|
|||
break;
|
||||
}
|
||||
|
||||
if (ret == GST_STATE_CHANGE_FAILURE)
|
||||
return ret;
|
||||
|
||||
ret =
|
||||
GST_ELEMENT_CLASS (gst_omx_audio_dec_parent_class)->change_state
|
||||
(element, transition);
|
||||
|
|
Loading…
Reference in a new issue