ff_rate_control_uninit(s);
int MPV_encode_end(AVCodecContext *avctx){    MpegEncContext *s = avctx->priv_data;#ifdef STATS    print_stats();#endif    MPV_common_end(s);    if (s->out_format == FMT_MJPEG)        mjpeg_close(s);          return 0;}