aboutsummaryrefslogtreecommitdiffstats
path: root/libavresample/tests
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-11-19 12:38:44 -0300
committerJames Almer <jamrial@gmail.com>2016-11-19 20:24:44 -0300
commitc3f97bf54496ee15a848683c3ca8772367cba216 (patch)
treee58f57e86e918ed587fac8bb7a5c00bc756ea59d /libavresample/tests
parent2a5c41e3e4a7e763503af59de903d5649dcc071a (diff)
downloadffmpeg-c3f97bf54496ee15a848683c3ca8772367cba216.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> (cherry picked from commit 574929d8b6de32ae712fcca7ab09f01a3e4616be)
Diffstat (limited to 'libavresample/tests')
0 files changed, 0 insertions, 0 deletions