static int ftp_store(FTPContext *s)

{

    char command[CONTROL_BUFFER_SIZE];

    const int stor_codes[] = {150, 0};



    snprintf(command, sizeof(command), "STOR %s\r\n", s->path);

    if (!ftp_send_command(s, command, stor_codes, NULL))

        return AVERROR(EIO);



    s->state = UPLOADING;



    return 0;

}

static int ftp_store(FTPContext *s)

{

    char command[CONTROL_BUFFER_SIZE];

    const int stor_codes[] = {150, 0};



    snprintf(command, sizeof(command), "STOR %s\r\n", s->path);

    if (!ftp_send_command(s, command, stor_codes, NULL))

        return AVERROR(EIO);



    s->state = UPLOADING;



    return 0;

}

static int FUNC_0(FTPContext *VAR_0)

{

    char VAR_1[CONTROL_BUFFER_SIZE];

    const int VAR_2[] = {150, 0};



    snprintf(VAR_1, sizeof(VAR_1), "STOR %VAR_0\r\n", VAR_0->path);

    if (!ftp_send_command(VAR_0, VAR_1, VAR_2, NULL))

        return AVERROR(EIO);



    VAR_0->state = UPLOADING;



    return 0;

}

static int FUNC_0(FTPContext *VAR_0)
{ char VAR_1[CONTROL_BUFFER_SIZE]; const int VAR_2[] = {150, 0}; snprintf(VAR_1, sizeof(VAR_1), "STOR %VAR_0\r\n", VAR_0->path); if (!ftp_send_command(VAR_0, VAR_1, VAR_2, NULL))
return AVERROR(EIO); VAR_0->state = UPLOADING; return 0; }