av_freep(&v->mv_type_mb_plane); av_freep(&v->skip_mb_plane); av_freep(&v->direct_mb_plane);
MPV_common_end(&v->s); free_bitplane(&v->mv_type_mb_plane); free_bitplane(&v->skip_mb_plane); free_bitplane(&v->direct_mb_plane);
static int vc9_decode_end(AVCodecContext *avctx){    VC9Context *v = avctx->priv_data;#if HAS_ADVANCED_PROFILE    av_freep(&v->hrd_rate);    av_freep(&v->hrd_buffer);#endif    av_freep(&v->mv_type_mb_plane);    av_freep(&v->skip_mb_plane);    av_freep(&v->direct_mb_plane);    return 0;}