v4l2codecs: h264: Fix filling weight factors
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 20 Aug 2021 15:23:57 +0000 (11:23 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 20 Aug 2021 16:03:43 +0000 (16:03 +0000)
commit0b05b9b3e68334d94cc47129aa0648e58482733e
tree2bfa717d573b99db924257a2645a521b7f6d5770
parente9996be6581605bc50801961c5c9adfd54eaaff1
v4l2codecs: h264: Fix filling weight factors

This was a typo, the wrong index was used to set l1 weight (b-frames).

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2480>
sys/v4l2codecs/gstv4l2codech264dec.c