MMFMWK-8185 [8mq] fix gplay segfault when CMA free is low

Check the return status of function VPU_DecDecodeBuf(). Stop performing the next steps
if the return status is VPU_DEC_RET_FAILURE due to the lack of memory.

Signed-off-by: Hou Qi <qi.hou@nxp.com>
diff --git a/plugins/vpu/gstvpudecobject.c b/plugins/vpu/gstvpudecobject.c
old mode 100755
new mode 100644
index edeca24..16dba41
--- a/plugins/vpu/gstvpudecobject.c
+++ b/plugins/vpu/gstvpudecobject.c
@@ -861,7 +861,7 @@
     VpuBufferNode in_data = {0};
     int buf_ret;
     dec_ret = VPU_DecDecodeBuf(vpu_dec_object->handle, &in_data, &buf_ret);
-    if (dec_ret != VPU_DEC_RET_SUCCESS) {
+    if (dec_ret == VPU_DEC_RET_FAILURE) {
       GST_ERROR_OBJECT(vpu_dec_object, "VPU_DecDecodeBuf fail: %s", \
           gst_vpu_dec_object_strerror(dec_ret));
       return GST_FLOW_ERROR;