qtdemux: Fix av1C parsing
authorEdward Hervey <edward@centricular.com>
Mon, 17 Apr 2023 07:28:43 +0000 (09:28 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 17 Apr 2023 09:02:24 +0000 (10:02 +0100)
commit88353d8cb264a4b10b6839f3f7e010a667acb78b
tree048f601e08a00be07b14ee13a070f4ecd31b5d42
parent1228ef095d6c75763c054911173a12f23899c9f8
qtdemux: Fix av1C parsing

This is a regression introduced by
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3882

The av1c codec configuration parsing would always fail due to an off-by-one
error, the content of an atom starting at offset 8 (i.e. the 9th byte) and not
9 (the 10th byte).

Also introduce a break in order to not get stray warnings

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4435>
subprojects/gst-plugins-good/gst/isomp4/qtdemux.c