v4l2codecs: h264dec: Fix leak on decoding failure
Given GstVideoCodecFrame and GstH264Picture should be cleared, and the return must be GST_FLOW_ERROR, not boolean value.
cc @ndufresne
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Given GstVideoCodecFrame and GstH264Picture should be cleared, and the return must be GST_FLOW_ERROR, not boolean value.
cc @ndufresne