This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit f6d89a7bed55278f3729ce6120b45ad9797d57d1
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Fri Jan 30 19:36:01 2026 +0100
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Tue Feb 10 19:44:46 2026 +0100

    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 <[email protected]>
---
 libavformat/spdif.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/spdif.h b/libavformat/spdif.h
index 0039fcfe5c..0b6567fac8 100644
--- a/libavformat/spdif.h
+++ b/libavformat/spdif.h
@@ -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] = {

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to