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:
Luis de Bethencourt 2015-03-06 10:54:43 +00:00
parent a8d26ff27a
commit 964cb549bb

View file

@ -257,9 +257,6 @@ gst_omx_audio_dec_change_state (GstElement * element, GstStateChange transition)
break; break;
} }
if (ret == GST_STATE_CHANGE_FAILURE)
return ret;
ret = ret =
GST_ELEMENT_CLASS (gst_omx_audio_dec_parent_class)->change_state GST_ELEMENT_CLASS (gst_omx_audio_dec_parent_class)->change_state
(element, transition); (element, transition);