[FFmpeg-cvslog] avformat/ftp: use correct enum type
Ganesh Ajjanagadde
git at videolan.org
Thu Aug 20 12:34:03 CEST 2015
ffmpeg | branch: master | Ganesh Ajjanagadde <gajjanagadde at gmail.com> | Thu Aug 20 04:29:12 2015 -0400| [ecf6b26aa500921fbcfc3b0dfd47e4d942780173] | committer: Michael Niedermayer
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 <gajjanagadde at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ecf6b26aa500921fbcfc3b0dfd47e4d942780173
---
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;
More information about the ffmpeg-cvslog
mailing list