]> git.sesse.net Git - ffmpeg/commit
avcodec/pngdec: use memcpy instead of byte loops for P frames.
authorBenoit Fouet <benoit.fouet@free.fr>
Wed, 3 Dec 2014 13:31:28 +0000 (14:31 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 4 Dec 2014 16:01:04 +0000 (17:01 +0100)
commit0f6931f4b60cf1e65fd9a5da791c8ee913053f52
treed32d8936e8cda9751eae27b8084f31134cad68db
parenta4f21a8dd9d8b327334d706a96c0cb5c41bd82b6
avcodec/pngdec: use memcpy instead of byte loops for P frames.

Rely on the way memcpy is optimized for one's system instead of looping
on a byte buffer for buffer copies to handle P frames.

Tested-by: Christophe Gisquet <christophe.gisquet@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/pngdec.c