static int fits_write_packet(AVFormatContext *s, AVPacket *pkt)

{

    write_image_header(s);

    avio_write(s->pb, pkt->data, pkt->size);

    return 0;

}

static int fits_write_packet(AVFormatContext *s, AVPacket *pkt)

{

    write_image_header(s);

    avio_write(s->pb, pkt->data, pkt->size);

    return 0;

}

static int FUNC_0(AVFormatContext *VAR_0, AVPacket *VAR_1)

{

    write_image_header(VAR_0);

    avio_write(VAR_0->pb, VAR_1->data, VAR_1->size);

    return 0;

}

static int FUNC_0(AVFormatContext *VAR_0, AVPacket *VAR_1)
{ write_image_header(VAR_0); avio_write(VAR_0->pb, VAR_1->data, VAR_1->size); return 0; }