diff options
author | Andreas Rheinhardt <[email protected]> | 2021-04-03 15:39:35 +0200 |
---|---|---|
committer | Andreas Rheinhardt <[email protected]> | 2021-04-03 22:26:51 +0200 |
commit | a5b2f06b0c69221e375edd918a335c68b33d5667 (patch) | |
tree | 468b6afa5928d4cfa332e6714e19f41f10e0a5bf /doc/examples/resampling_audio.c | |
parent | da8c86dd8be244100da226a11b416c20d0c914d6 (diff) |
avcodec/mjpegdec: Fix leak in case ICC array allocations fail partially
If only one of the two arrays used for the ICC profile could be
successfully allocated, it might be overwritten and leak when
the next ICC entry is encountered. Fix this by using a common struct,
so that one has only one array to allocate.
Signed-off-by: Andreas Rheinhardt <[email protected]>
Diffstat (limited to 'doc/examples/resampling_audio.c')
0 files changed, 0 insertions, 0 deletions