diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-07-05 20:00:15 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-28 02:42:15 +0200 |
commit | e9deb5581075bfa79f22a6c228a23849f8199157 (patch) | |
tree | a71b7f771b04222be9d12f8ef6e2bb43ab9f16a0 /COPYING.LGPLv2.1 | |
parent | dec0316c0f3bdf991ef4473566ebde1daaeefc86 (diff) | |
download | ffmpeg-e9deb5581075bfa79f22a6c228a23849f8199157.tar.gz |
avcodec/rawenc: Use ff_alloc_packet() instead of ff_alloc_packet2()
the later is not optimal when the buffer size is well known at allocation time
This avoids a memcpy()
Overall 2.5% speedup with a random 1920x1080 video
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 47496eb97cff8130991313d1b7292613620d8592)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'COPYING.LGPLv2.1')
0 files changed, 0 insertions, 0 deletions