[FFmpeg-cvslog] avformat/httpauth: Change enum to int, which is accessed via AVOption as int

Michael Niedermayer git at videolan.org
Mon Apr 6 14:58:20 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Apr  6 14:44:33 2015 +0200| [d2277aa7e2d2aacec3f6d7791ef5c2528541f140] | committer: Michael Niedermayer

avformat/httpauth: Change enum to int, which is accessed via AVOption as int

This fixes depending on implementation defined behavior

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d2277aa7e2d2aacec3f6d7791ef5c2528541f140
---

 libavformat/httpauth.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/httpauth.h b/libavformat/httpauth.h
index fc17c94..9c15a38 100644
--- a/libavformat/httpauth.h
+++ b/libavformat/httpauth.h
@@ -56,7 +56,7 @@ typedef struct HTTPAuthState {
     /**
      * The currently chosen auth type.
      */
-    HTTPAuthType auth_type;
+    int auth_type;
     /**
      * Authentication realm
      */



More information about the ffmpeg-cvslog mailing list