[Ffmpeg-devel] Patch for testing: remove a memcpy() in v4l2.c

Luca Abeni lucabe72
Wed Feb 14 15:04:00 CET 2007


Hi Michael,
On Tue, 2007-02-13 at 21:53 +0100, Michael Niedermayer wrote:
> On Tue, Feb 13, 2007 at 02:44:27PM +0100, Luca Abeni wrote:
> > when reading a frame from the video device, v4l2.c currently allocates a
> > buffer and copies the frame into it.
> > 
> > The attached patch eliminates the memory copy, by directly passing the
> > v4l2 buffer in the AVPacket
[...]
> apply it!!!!! (more people will test it that way ...)
Good; applied.

To all: if anyone sees regressions or strange behaviours in v4l2.c, let
me know.

			Thanks,
				Luca
-- 
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
                               N O    W A R ! ! !





More information about the ffmpeg-devel mailing list