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