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:
1f0b2fb
)
vaapidecode: sets return value in failure case.
author
Matteo Valdina
<matteo.valdina@gmail.com>
Sat, 1 Sep 2018 01:48:13 +0000
(20:48 -0500)
committer
Víctor Manuel Jáquez Leal
<vjaquez@igalia.com>
Mon, 3 Sep 2018 13:38:33 +0000
(15:38 +0200)
In gst_vaapidecode_handle_frame, when there is a decode error
there is a code path the returns an uninitialized value.
Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=797006
gst/vaapi/gstvaapidecode.c
patch
|
blob
|
history
diff --git
a/gst/vaapi/gstvaapidecode.c
b/gst/vaapi/gstvaapidecode.c
index
cdb907f
..
423b7c6
100644
(file)
--- a/
gst/vaapi/gstvaapidecode.c
+++ b/
gst/vaapi/gstvaapidecode.c
@@
-760,6
+760,7
@@
error_decode:
ret = GST_FLOW_NOT_SUPPORTED;
break;
default:
+ ret = GST_FLOW_OK;
GST_VIDEO_DECODER_ERROR (vdec, 1, STREAM, DECODE, ("Decoding error"),
("Decode error %d", status), ret);
break;