diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-04-12 00:14:32 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-04-14 18:38:55 +0200 |
commit | 202da3bf486c8168170597b01f8261de288c250c (patch) | |
tree | f3c4ef69885e6224970c057850dbb50c38aae542 /libavformat/options.c | |
parent | f703cbabdb9bd0f7599d78c6ff1e8a2f38a502b3 (diff) | |
download | ffmpeg-202da3bf486c8168170597b01f8261de288c250c.tar.gz |
avcodec/mjpegenc: Don't unnecessarily grow buffer
The size of the ICC chunk has already been accounted for when
the packet's buffer was initially set in ff_mpv_encode_picture()
and the header (including the ICC chunk) has already been written
at this point.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/options.c')
0 files changed, 0 insertions, 0 deletions