av_log(avctx, AV_LOG_DEBUG, "RD: %f\n", s->rd_total/(double)(avctx->width*avctx->height*avctx->frame_number));
static int svq1_encode_end(AVCodecContext *avctx){    SVQ1Context * const s = avctx->priv_data;    av_free(s->c_plane);    return 0;}