diff options
author | James Almer <jamrial@gmail.com> | 2018-04-04 18:12:53 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2018-04-06 21:14:50 -0300 |
commit | 9703b7d05fc7ab0378808b8d372a9c4a96e97488 (patch) | |
tree | 347441d313996460d8f87783d7e1a53b84cb2b13 /libavfilter/fifo.c | |
parent | b8e75a2a08b678c7c6259a125acd8fa9565b5e42 (diff) | |
download | ffmpeg-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 'libavfilter/fifo.c')
0 files changed, 0 insertions, 0 deletions