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;