diff options
author | James Almer <jamrial@gmail.com> | 2016-11-19 15:33:58 -0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-11-23 13:17:52 +0100 |
commit | aa498c3183236a93206b4a0e8225b9db0660b50d (patch) | |
tree | bf668357a29a421f220738cab79f4d2560bcd5de /libavcodec/ac3tab.h | |
parent | c7ab0eb3050acdd3b8cab2c55fc9c1b2e8610a65 (diff) | |
download | ffmpeg-aa498c3183236a93206b4a0e8225b9db0660b50d.tar.gz |
avpacket: fix leak on realloc in av_packet_add_side_data()
If realloc fails, the pointer is overwritten and the previously allocated buffer
is leaked, which goes against the expected functionality of keeping the packet
unchanged in case of error.
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/ac3tab.h')
0 files changed, 0 insertions, 0 deletions