static av_cold int end(AVCodecContext *avctx) { AVRnContext *a = avctx->priv_data; if(a->is_mjpeg) ff_mjpeg_decode_end(avctx); return 0; }
static av_cold int end(AVCodecContext *avctx) { AVRnContext *a = avctx->priv_data; AVFrame *p = &a->frame; if(p->data[0]) avctx->release_buffer(avctx, p); if(a->is_mjpeg) ff_mjpeg_decode_end(avctx); return 0; }