avformat/spdif: Make enum IEC61937DataType at least 16bits

Fixes the spdif-dca-master FATE-test when compiling with
-fshort-enums.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2026-01-30 19:36:01 +01:00
parent f0392c908c
commit f6d89a7bed
+1
View File
@@ -50,6 +50,7 @@ enum IEC61937DataType {
IEC61937_MPEG2_AAC_LSF_4096 = 0x13 | 0x20, ///< MPEG-2 AAC ADTS quarter-rate low sampling frequency
IEC61937_EAC3 = 0x15, ///< E-AC-3 data
IEC61937_TRUEHD = 0x16, ///< TrueHD data
IEC61937_MAX_ENUM = 0xFFFF ///< to force the underlying type to be at least 16bits
};
static const uint16_t spdif_mpeg_pkt_offset[2][3] = {