On Sun, Feb 26, 2012 at 7:54 PM, Felipe Contreras <felipe.contre...@gmail.com> wrote: > Signed-off-by: Felipe Contreras <felipe.contre...@gmail.com>
> + for (i = 0; i < avctx->height; i++) > + memcpy(f->data[0] + i * f->linesize[0], p1 + i * > avctx->width, avctx->width); > + for (i = 0; i < avctx->height / 2; i++) > + memcpy(f->data[1] + i * f->linesize[1], p2 + i * avctx->width > / 2, avctx->width / 2); > + for (i = 0; i < avctx->height / 2; i++) > + memcpy(f->data[2] + i * f->linesize[2], p3 + i * avctx->width > / 2, avctx->width / 2); Is there a way to avoid this? Say, if the client requests a single plane. Cheers. -- Felipe Contreras _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel