static int img_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)

{

    VideoDemuxData *s1 = s->priv_data;



    if (timestamp < 0 || timestamp > s1->img_last - s1->img_first)

        return -1;

    s1->img_number = timestamp + s1->img_first;

    return 0;

}

static int img_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)

{

    VideoDemuxData *s1 = s->priv_data;



    if (timestamp < 0 || timestamp > s1->img_last - s1->img_first)

        return -1;

    s1->img_number = timestamp + s1->img_first;

    return 0;

}

static int FUNC_0(AVFormatContext *VAR_0, int VAR_1, int64_t VAR_2, int VAR_3)

{

    VideoDemuxData *s1 = VAR_0->priv_data;



    if (VAR_2 < 0 || VAR_2 > s1->img_last - s1->img_first)

        return -1;

    s1->img_number = VAR_2 + s1->img_first;

    return 0;

}

static int FUNC_0(AVFormatContext *VAR_0, int VAR_1, int64_t VAR_2, int VAR_3)
{ VideoDemuxData *s1 = VAR_0->priv_data; if (VAR_2 < 0 || VAR_2 > s1->img_last - s1->img_first)
return -1; s1->img_number = VAR_2 + s1->img_first; return 0; }