msdk: Remove unreachable statement

The execution cannot reach the statement: "gst_caps_unref(dma_caps);",
so remove it.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4449>
This commit is contained in:
Yinhang Liu 2023-04-18 17:08:54 +08:00 committed by GStreamer Marge Bot
parent 8b9f1278b2
commit cb5c0e47c8

View file

@ -1728,8 +1728,6 @@ failed:
gst_caps_unref (in_caps);
if (out_caps)
gst_caps_unref (out_caps);
if (dma_caps)
gst_caps_unref (dma_caps);
return FALSE;
}