avformat/ftp: use correct enum type