HYuvContext *s = avctx->priv_data;  common_end(s);
static int encode_end(AVCodecContext *avctx){//    HYuvContext *s = avctx->priv_data;    av_freep(&avctx->extradata);    av_freep(&avctx->stats_out);        return 0;}