mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
omxaudioenc: 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 the if check. CID #1287053
This commit is contained in:
parent
964cb549bb
commit
3aa008adb7
1 changed files with 0 additions and 3 deletions
|
@ -245,9 +245,6 @@ gst_omx_audio_enc_change_state (GstElement * element, GstStateChange transition)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ret == GST_STATE_CHANGE_FAILURE)
|
|
||||||
return ret;
|
|
||||||
|
|
||||||
ret =
|
ret =
|
||||||
GST_ELEMENT_CLASS (gst_omx_audio_enc_parent_class)->change_state (element,
|
GST_ELEMENT_CLASS (gst_omx_audio_enc_parent_class)->change_state (element,
|
||||||
transition);
|
transition);
|
||||||
|
|
Loading…
Reference in a new issue