static av_cold int flashsv_decode_init(AVCodecContext *avctx)

{

    FlashSVContext *s = avctx->priv_data;

    int zret; // Zlib return code



    s->avctx          = avctx;

    s->zstream.zalloc = Z_NULL;

    s->zstream.zfree  = Z_NULL;

    s->zstream.opaque = Z_NULL;

    zret = inflateInit(&s->zstream);

    if (zret != Z_OK) {

        av_log(avctx, AV_LOG_ERROR, "Inflate init error: %d\n", zret);

        return 1;

    }

    avctx->pix_fmt = AV_PIX_FMT_BGR24;

    s->frame.data[0] = NULL;



    return 0;

}

static av_cold int flashsv_decode_init(AVCodecContext *avctx)

{

    FlashSVContext *s = avctx->priv_data;

    int zret; 



    s->avctx          = avctx;

    s->zstream.zalloc = Z_NULL;

    s->zstream.zfree  = Z_NULL;

    s->zstream.opaque = Z_NULL;

    zret = inflateInit(&s->zstream);

    if (zret != Z_OK) {

        av_log(avctx, AV_LOG_ERROR, "Inflate init error: %d\n", zret);

        return 1;

    }

    avctx->pix_fmt = AV_PIX_FMT_BGR24;

    s->frame.data[0] = NULL;



    return 0;

}

static av_cold int FUNC_0(AVCodecContext *avctx)

{

    FlashSVContext *s = avctx->priv_data;

    int VAR_0; 



    s->avctx          = avctx;

    s->zstream.zalloc = Z_NULL;

    s->zstream.zfree  = Z_NULL;

    s->zstream.opaque = Z_NULL;

    VAR_0 = inflateInit(&s->zstream);

    if (VAR_0 != Z_OK) {

        av_log(avctx, AV_LOG_ERROR, "Inflate init error: %d\n", VAR_0);

        return 1;

    }

    avctx->pix_fmt = AV_PIX_FMT_BGR24;

    s->frame.data[0] = NULL;



    return 0;

}

static av_cold int FUNC_0(AVCodecContext *avctx)
{ FlashSVContext *s = avctx->priv_data; int VAR_0; s->avctx          = avctx; s->zstream.zalloc = Z_NULL; s->zstream.zfree  = Z_NULL; s->zstream.opaque = Z_NULL; VAR_0 = inflateInit(&s->zstream); if (VAR_0 != Z_OK) { av_log(avctx, AV_LOG_ERROR, "Inflate init error: %d\n", VAR_0); return 1; } avctx->pix_fmt = AV_PIX_FMT_BGR24; s->frame.data[0] = NULL; return 0; }