codecparsers: h265parser: Fix the index incrementation error in append_profile().
authorHe Junyan <junyan.he@intel.com>
Thu, 13 Jan 2022 02:11:52 +0000 (10:11 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 13 Jan 2022 05:28:17 +0000 (05:28 +0000)
commit9eb0f8501fbca12a38713f1f9934b1f806bef236
tree511e68ec95239c2d46262a191aec75b112c300a1
parent644969e0ba28d31b6ebef18bf692da175aae41fa
codecparsers: h265parser: Fix the index incrementation error in append_profile().

The current "*idx++" operation just refers the pointer and increment the pointer
itself, not the content of the pointer. This causes that the count of the profiles
is always 0.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1517>
subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth265parser.c