Update mlpenc .c

frame of avctx is now a parameter frame in the function,.
so avctx->frame_size is now frame->nb_samples