codecs: h264dec: Fix a typo in construct_ref_field_pic_lists_b.
authorHe Junyan <junyan.he@intel.com>
Fri, 23 Jul 2021 04:31:17 +0000 (12:31 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 23 Jul 2021 19:52:48 +0000 (19:52 +0000)
commiteef90676194dcbd1cfc07a322e7a20ad6b8cecb3
tree27ed906d18f085e64b115e32968993ed73b9d498
parentd2a7b763bef3ca51f0c84cdac52eeed85b0db8fb
codecs: h264dec: Fix a typo in construct_ref_field_pic_lists_b.

The array sort of ref_frame_list_0_short_term has some typo. The
typo makes this list not in the POC ascend order and generate wrong
decoding result for interlaced streams.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2425>
gst-libs/gst/codecs/gsth264decoder.c