va: baseenc: No need to check the frame pointer in handle_frame().
authorHe Junyan <junyan.he@intel.com>
Mon, 23 May 2022 07:03:03 +0000 (15:03 +0800)
committerHe Junyan <junyan.he@intel.com>
Mon, 23 May 2022 07:03:03 +0000 (15:03 +0800)
commitfc75e38496303231daffe01f1d99a48ae3376127
tree62b43b4b5df1032264cb484f3e533496fe793884
parentde5952bc83baa842ecd62e2a12b0fb807cd9c7f2
va: baseenc: No need to check the frame pointer in handle_frame().

No need to check the NULL pointer of "frame" in error handling, it
is assured non-NULL by base class and we already use it everywhere
in this function.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2471>
subprojects/gst-plugins-bad/sys/va/gstvabaseenc.c