[FFmpeg-devel] [PATCH] use skip_put_bytes in mjpegenc.c
Reimar Döffinger
Reimar.Doeffinger
Wed Sep 30 12:49:53 CEST 2009
On Wed, Sep 30, 2009 at 12:42:13PM +0200, Michael Niedermayer wrote:
> On Wed, Sep 30, 2009 at 12:22:35PM +0200, Reimar D?ffinger wrote:
> > Hello,
> > obviously much simpler.
>
> ok if tested
Yes, I confirmed that make test exercises this code and valgrind reports
no uninitialized data.
> also it seems the 2nd loop could benefit from knowing the 0xFF locations
> which are theoretically known at that point as the first counted them
That would need testing, if 0xFF is quite frequent it might not really
gain anything. I doubt I'll be bored enough any time soon :-)
More information about the ffmpeg-devel
mailing list