[vlc-commits] [Git][videolan/vlc][master] packetizer/flac: allow 32bits per sample
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Fri May 22 18:55:21 UTC 2026
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
82434f6d by Felix Paul Kühne at 2026-05-22T20:43:20+02:00
packetizer/flac: allow 32bits per sample
Fixes #29867
- - - - -
1 changed file:
- modules/packetizer/flac.h
Changes:
=====================================
modules/packetizer/flac.h
=====================================
@@ -219,7 +219,7 @@ static inline int FLAC_ParseSyncInfo(const uint8_t *p_buf, unsigned i_buf,
/* Find bits per sample */
static const int8_t flac_bits_per_sample[8] = {
- 0, 8, 12, -1, 16, 20, 24, -1
+ 0, 8, 12, -1, 16, 20, 24, 32
};
int bits_per_sample = flac_bits_per_sample[(p_buf[3] & 0x0e) >> 1];
if (bits_per_sample == 0) {
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/82434f6dd1465e7920bff886dd620293ef41b9b6
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/82434f6dd1465e7920bff886dd620293ef41b9b6
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list