Skip to content

va: Fix null ptr dereference

Mengkejiergeli Ba requested to merge mkba/gstreamer:va_fix_null_ptr_deref into main

There are two issues about null pointer dereference detected by Coverity. The one in VaDecoder happened when destroying decoder: a dereference is applied after null check for the pointer. Another one in tests of va (multiple-vpp), that is making dereference before pointer null check. Hence, fix these two issues to pass Coverity.

Merge request reports