1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

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@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Ganesh Ajjanagadde 2015-08-20 04:29:12 -04:00 committed by Michael Niedermayer
parent 9bd305be91
commit ecf6b26aa5

View 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;