[FFmpeg-devel] [PATCH 3/4] avformat/ftp: use correct enum type

Ganesh Ajjanagadde gajjanagadde at gmail.com
Thu Aug 20 10:29:12 CEST 2015


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 at gmail.com>
---
 libavformat/ftp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/ftp.c b/libavformat/ftp.c
index 51f491c..dcb588d 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;
-- 
2.5.0



More information about the ffmpeg-devel mailing list