aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hwaccels.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-06-17 07:22:31 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-06-24 18:33:18 +0200
commite689a1171d40355fca6519558b4c6b9a050e9b44 (patch)
tree64db57bad33bd15127bba2eca3a7f71582813fd6 /libavcodec/hwaccels.h
parenta367e435d816dfe6939ab9932e87c089fb1f3f73 (diff)
downloadffmpeg-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 'libavcodec/hwaccels.h')
0 files changed, 0 insertions, 0 deletions