mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 21:48:55 +00:00
vaapidecode: sets return value in failure case.
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
This commit is contained in:
parent
1f0b2fb952
commit
2cb795fc77
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue