Skip to content

nvdec: Fix possible null object unref

gst_query_get_n_allocation_pools > 0 does not guarantee that the N th internal array has GstBufferPool object. So users should check the returned GstBufferPool object from gst_query_parse_nth_allocation_pool.

Merge request reports

Loading