codecs: h264decoder: Make get_long_ref_by_pic_num() transfer none
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 8 May 2020 21:56:48 +0000 (17:56 -0400)
committerNicolas Dufresne <nicolas@ndufresne.ca>
Tue, 19 May 2020 16:57:08 +0000 (16:57 +0000)
commitf8736626a99bdcb6e9490487dca133236d5aecad
tree293df590c14c9e8ab185e7c66ca84fe3d02639a4
parenta20147f255e5e0c11366b9fffcbb6334b0b3a06c
codecs: h264decoder: Make get_long_ref_by_pic_num() transfer none

We don't use the extra reference, so let's just avoid the extra
ref/unref.

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