samiparse: micro-optimise entity handling
authorTim-Philipp Müller <tim@centricular.com>
Wed, 29 Jun 2022 23:31:24 +0000 (00:31 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 1 Jul 2022 17:24:52 +0000 (17:24 +0000)
commit270d23c8e05301759b9274803f93453422ff1062
tree17fc6a3a7f6ed6021b0d37550ed0ac046cf1aaeb
parent84a3b0ef87e1b4eebe3ebef2c0de620a40afe4c1
samiparse: micro-optimise entity handling

Avoid relocations and hard-code entity string length
in the struct, since we basically get it for free here.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2685>
subprojects/gst-plugins-base/gst/subparse/samiparse.c