flacparse: Fix handling of headers advertising 32bps
authorPhilippe Normand <philn@igalia.com>
Sun, 4 Dec 2022 11:44:17 +0000 (11:44 +0000)
committerPhilippe Normand <philn@igalia.com>
Sun, 4 Dec 2022 11:47:57 +0000 (11:47 +0000)
commitb9011f3541e1da518df5b0857547d833555cc49e
treecdb44bdeeb6e03aeef5db4f97049b6b4e8b41265
parentc4cd94f465c0276e201d0fb8b1377ea56d6c2f33
flacparse: Fix handling of headers advertising 32bps

According to the flac bitstream format specification, the sample size in bits
corresponding to `111` is 32 bits per sample.

https://xiph.org/flac/format.html#frame_header

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3517>
subprojects/gst-plugins-good/gst/audioparsers/gstflacparse.c