aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/supdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-04-12 00:14:32 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-04-14 18:38:55 +0200
commit202da3bf486c8168170597b01f8261de288c250c (patch)
treef3c4ef69885e6224970c057850dbb50c38aae542 /libavformat/supdec.c
parentf703cbabdb9bd0f7599d78c6ff1e8a2f38a502b3 (diff)
downloadffmpeg-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/supdec.c')
0 files changed, 0 insertions, 0 deletions