diff options
author | James Almer <jamrial@gmail.com> | 2018-04-04 14:12:54 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2018-04-06 21:14:49 -0300 |
commit | a61886650b598c98b7f8b44b3c186e33873913cd (patch) | |
tree | 8a26bea47b27c49c5181c64ce94322ff0bb2bb43 /libavfilter | |
parent | 647fd4b8292e3bfae30b1086aa842a5ee47ee868 (diff) | |
download | ffmpeg-a61886650b598c98b7f8b44b3c186e33873913cd.tar.gz |
avformat/matroskadec: use refcounted buffers in EbmlBin
Data in EbmlBin objects is never changed after being read from the
input file (save for two specific cases with encoded CodePrivate), so
using AVBufferRef we can prevent unnecessary copy of data by instead
creating new references to said constant data.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter')
0 files changed, 0 insertions, 0 deletions