OSDN Git Service

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 fc17c94..9c15a38 100644 (file)
@@ -56,7 +56,7 @@ typedef struct HTTPAuthState {
     /**
      * The currently chosen auth type.
      */
-    HTTPAuthType auth_type;
+    int auth_type;
     /**
      * Authentication realm
      */