static int common_end(AVCodecContext *avctx){

    FFV1Context *s = avctx->priv_data;

    int i;



    for(i=0; i<s->plane_count; i++){

        PlaneContext *p= &s->plane[i];



        av_freep(&p->state);


    }



    return 0;

}
static int common_end(AVCodecContext *avctx){

    FFV1Context *s = avctx->priv_data;

    int i;



    for(i=0; i<s->plane_count; i++){

        PlaneContext *p= &s->plane[i];



        av_freep(&p->state);


    }



    return 0;

}
static int FUNC_0(AVCodecContext *VAR_0){

    FFV1Context *s = VAR_0->priv_data;

    int VAR_1;



    for(VAR_1=0; VAR_1<s->plane_count; VAR_1++){

        PlaneContext *p= &s->plane[VAR_1];



        av_freep(&p->state);


    }



    return 0;

}
static int FUNC_0(AVCodecContext *VAR_0){ FFV1Context *s = VAR_0->priv_data; int VAR_1; for(VAR_1=0; VAR_1<s->plane_count; VAR_1++){ PlaneContext *p= &s->plane[VAR_1]; av_freep(&p->state); } return 0; }