aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/smoothstreamingenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-07-05 20:00:15 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-07-05 20:00:15 +0200
commit47496eb97cff8130991313d1b7292613620d8592 (patch)
tree8755738fc5db6409ca02cd95fff778ff7c936632 /libavformat/smoothstreamingenc.c
parente8576dc8dfc9a3434c7585c451a87db86ca0d9ba (diff)
downloadffmpeg-47496eb97cff8130991313d1b7292613620d8592.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>
Diffstat (limited to 'libavformat/smoothstreamingenc.c')
0 files changed, 0 insertions, 0 deletions