diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-04-29 20:22:40 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-05-06 10:22:48 +0200 |
commit | 3122dcf2fe54c427aecdbba2ee85788981e3236b (patch) | |
tree | 78ac2ba20dc9b371d4a7656a424367fe60977b49 /libavcodec/h263dsp.c | |
parent | 851283a777b7f841eed49ff6d0417aa18c9d732e (diff) | |
download | ffmpeg-3122dcf2fe54c427aecdbba2ee85788981e3236b.tar.gz |
avformat/matroskaenc: Avoid dynamic buffer when writing Colour
There is a good upper bound for the maximum length of the Colour master
element; it is therefore unnecessary to use a dynamic buffer for it.
A simple buffer on the stack is enough. This commit implements this.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/h263dsp.c')
0 files changed, 0 insertions, 0 deletions