projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8d26ff
)
omxaudiodec: impossible if statement
author
Luis de Bethencourt
<luis.bg@samsung.com>
Fri, 6 Mar 2015 10:54:43 +0000
(10:54 +0000)
committer
Luis de Bethencourt
<luis.bg@samsung.com>
Fri, 6 Mar 2015 10:54:46 +0000
(10:54 +0000)
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
omx/gstomxaudiodec.c
patch
|
blob
|
history
diff --git
a/omx/gstomxaudiodec.c
b/omx/gstomxaudiodec.c
index
6206fa2
..
44fdf89
100644
(file)
--- a/
omx/gstomxaudiodec.c
+++ b/
omx/gstomxaudiodec.c
@@
-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);