From ecf6b26aa500921fbcfc3b0dfd47e4d942780173 Mon Sep 17 00:00:00 2001 From: Ganesh Ajjanagadde Date: Thu, 20 Aug 2015 04:29:12 -0400 Subject: [PATCH] avformat/ftp: use correct enum type Fixes -Wenum-conversion from http://fate.ffmpeg.org/report.cgi?time=20150820031140&slot=arm64-darwin-clang-apple-5.1 Signed-off-by: Ganesh Ajjanagadde Signed-off-by: Michael Niedermayer --- libavformat/ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/ftp.c b/libavformat/ftp.c index 51f491ce08..dcb588dac2 100644 --- a/libavformat/ftp.c +++ b/libavformat/ftp.c @@ -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;