diff options
author | James Almer <[email protected]> | 2018-04-04 14:12:54 -0300 |
---|---|---|
committer | James Almer <[email protected]> | 2018-04-06 21:14:49 -0300 |
commit | a61886650b598c98b7f8b44b3c186e33873913cd (patch) | |
tree | 8a26bea47b27c49c5181c64ce94322ff0bb2bb43 /libavcodec/file_open.c | |
parent | 647fd4b8292e3bfae30b1086aa842a5ee47ee868 (diff) |
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 <[email protected]>
Diffstat (limited to 'libavcodec/file_open.c')
0 files changed, 0 insertions, 0 deletions