aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ffhash.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2018-04-04 18:12:53 -0300
committerJames Almer <jamrial@gmail.com>2018-04-06 21:14:50 -0300
commit9703b7d05fc7ab0378808b8d372a9c4a96e97488 (patch)
tree347441d313996460d8f87783d7e1a53b84cb2b13 /tools/ffhash.c
parentb8e75a2a08b678c7c6259a125acd8fa9565b5e42 (diff)
downloadffmpeg-9703b7d05fc7ab0378808b8d372a9c4a96e97488.tar.gz
avformat/matroskadec: reference the existing data buffer when creating packets
Newly allocated data buffers (wavpack, prores, compressed buffers) are padded to meet the requirements of AVPacket. About 10x speed up in matroska_parse_frame(). Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tools/ffhash.c')
0 files changed, 0 insertions, 0 deletions