diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-06-17 07:22:31 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-06-24 18:33:18 +0200 |
commit | e689a1171d40355fca6519558b4c6b9a050e9b44 (patch) | |
tree | 64db57bad33bd15127bba2eca3a7f71582813fd6 /libavfilter/formats.c | |
parent | a367e435d816dfe6939ab9932e87c089fb1f3f73 (diff) | |
download | ffmpeg-e689a1171d40355fca6519558b4c6b9a050e9b44.tar.gz |
avformat/matroskaenc: Improve handling of AV1 extradata
Up until now, only the first four bytes (the ones preceding
the OBU) were written because not enough space has been reserved
for the complete CodecPrivate. This commit changes this
by increasing the space reserved for the CodecPrivate (it is big
enough for every sane sequence header plus something extra);
the code falls back to writing four bytes in case the increased
space turns out to be insufficient.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/formats.c')
0 files changed, 0 insertions, 0 deletions