diff options
author | James Almer <jamrial@gmail.com> | 2016-11-19 12:38:44 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-11-19 20:23:25 -0300 |
commit | 574929d8b6de32ae712fcca7ab09f01a3e4616be (patch) | |
tree | 5a002d5dce5144f44db5ad73ab72af0350a43048 /presets/libvpx-1080p.ffpreset | |
parent | 0ffea3565700c9b3093ead285f729bb319a2163e (diff) | |
download | ffmpeg-574929d8b6de32ae712fcca7ab09f01a3e4616be.tar.gz |
avcodec/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 behavior of keeping the
packet unchanged in case of error.
Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'presets/libvpx-1080p.ffpreset')
0 files changed, 0 insertions, 0 deletions