]> git.sesse.net Git - ffmpeg/commitdiff
avformat/httpauth: Change enum to int, which is accessed via AVOption as int
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 6 Apr 2015 12:44:33 +0000 (14:44 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 6 Apr 2015 12:44:33 +0000 (14:44 +0200)
This fixes depending on implementation defined behavior

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/httpauth.h

index fc17c948595b3d209dd4908662884ffe03bbadca..9c15a380970e27682c90580cae2a48db53974c4d 100644 (file)
@@ -56,7 +56,7 @@ typedef struct HTTPAuthState {
     /**
      * The currently chosen auth type.
      */
-    HTTPAuthType auth_type;
+    int auth_type;
     /**
      * Authentication realm
      */