aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/wmalosslessdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-07-05 20:00:15 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-20 04:43:41 +0200
commita4cb97067b4c679a1bc5f8fa5406b81978885e8a (patch)
tree3a9c0a0e52c2f4ff52b017221f2be4383a5c68ed /libavcodec/wmalosslessdec.c
parent4fad45ad146c117197168a39cb0493ffc4fdb60d (diff)
downloadffmpeg-a4cb97067b4c679a1bc5f8fa5406b81978885e8a.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 'libavcodec/wmalosslessdec.c')
0 files changed, 0 insertions, 0 deletions