avformat/ftp: use correct enum type
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>
Thu, 20 Aug 2015 08:29:12 +0000 (04:29 -0400)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 20 Aug 2015 10:22:50 +0000 (12:22 +0200)
Fixes -Wenum-conversion from
http://fate.ffmpeg.org/report.cgi?time=20150820031140&slot=arm64-darwin-clang-apple-5.1

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/ftp.c

index 51f491c..dcb588d 100644 (file)
@@ -651,7 +651,7 @@ static int ftp_connect(URLContext *h, const char *url)
     FTPContext *s = h->priv_data;
 
     s->state = DISCONNECTED;
-    s->listing_method = UNKNOWN;
+    s->listing_method = UNKNOWN_METHOD;
     s->filesize = -1;
     s->position = 0;
     s->features = NULL;