mirror of https://github.com/FFmpeg/FFmpeg.git
If one encodes MJPEG with a single slice and uses input with AV_FRAME_DATA_ICC_PROFILE side data, the current allocation code in ff_mpv_encode_picture() will always increase the size of the temporary buffer used for allocating packets by the size needed for to write the ICC chunk even when the current buffer is actually large enough. This commit fixes this. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>release/5.1
parent
4487dd8bb5
commit
c3047da646
1 changed files with 3 additions and 3 deletions
Loading…
Reference in new issue