diff options
author | James Almer <jamrial@gmail.com> | 2017-04-24 14:53:47 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-05-06 17:30:07 -0300 |
commit | 8119efdbec1fa3d10031a83ad5a43bd4999ae7c2 (patch) | |
tree | da084064613b0a14acf3431463273967c9ed8c2b /libavformat/utils.c | |
parent | 4f19268eee12053ee7f7dc451e5a7b5b7bcbfa28 (diff) | |
download | ffmpeg-8119efdbec1fa3d10031a83ad5a43bd4999ae7c2.tar.gz |
avcodec/options: do a more thorough clean up in avcodec_copy_context()
Free coded_frame, coded_side_data and unref hw_device_ctx to prevent
potential leaks.
Reviewed-by: Aaron Levinson <alevinsn@aracnet.com>
Tested-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit cac8de2da5c4935773128335c11b806faa73e19d)
Diffstat (limited to 'libavformat/utils.c')
0 files changed, 0 insertions, 0 deletions