From d2277aa7e2d2aacec3f6d7791ef5c2528541f140 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 6 Apr 2015 14:44:33 +0200 Subject: [PATCH] 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 --- libavformat/httpauth.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/httpauth.h b/libavformat/httpauth.h index fc17c94859..9c15a38097 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 */