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

Git pushed a commit to branch master
in repository ffmpeg.

commit fddf881c06c553d3dcb4522dbc2be9b4ef7f657a
Author:     Zhao Zhili <[email protected]>
AuthorDate: Sun Jan 25 22:14:05 2026 +0800
Commit:     Zhao Zhili <[email protected]>
CommitDate: Thu Feb 26 11:40:16 2026 +0800

    avformat: use int instead of enum for AVOption fields
    
    Signed-off-by: Zhao Zhili <[email protected]>
---
 libavformat/chromaprint.c | 3 ++-
 libavformat/libsrt.c      | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/libavformat/chromaprint.c b/libavformat/chromaprint.c
index eae233a651..d55e6e0845 100644
--- a/libavformat/chromaprint.c
+++ b/libavformat/chromaprint.c
@@ -41,7 +41,8 @@ typedef struct ChromaprintMuxContext {
     const AVClass *class;
     int silence_threshold;
     int algorithm;
-    FingerprintFormat fp_format;
+    /* FingerprintFormat, use int for AVOption */
+    int fp_format;
 #if CPR_VERSION_INT >= AV_VERSION_INT(1, 4, 0)
     ChromaprintContext *ctx;
 #else
diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c
index ba04d9f782..12a7ad6a52 100644
--- a/libavformat/libsrt.c
+++ b/libavformat/libsrt.c
@@ -82,7 +82,8 @@ typedef struct SRTContext {
     int payload_size;
     int64_t rcvlatency;
     int64_t peerlatency;
-    enum SRTMode mode;
+    /* enum SRTMode, use int for AVOption */
+    int mode;
     int sndbuf;
     int rcvbuf;
     int lossmaxttl;

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

Reply via email to