diff options
author | wm4 <wm4@nowhere> | 2016-01-18 11:46:28 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-01-18 11:46:28 +0100 |
commit | 0ed170ec0b7483568ad82c936afee7803a533908 (patch) | |
tree | df2023695f49d775dfd6c2c22aa1b58b9d399562 /stream/cache.c | |
parent | 7b4ccb3e9f58a0745b58e473ee6e60b381242813 (diff) | |
download | mpv-0ed170ec0b7483568ad82c936afee7803a533908.tar.bz2 mpv-0ed170ec0b7483568ad82c936afee7803a533908.tar.xz |
sub: fix memory leaks
demux_lavf.c leaked the complete subtitle data if it was put through
iconv.
lavc_conv.c leaked AVCodecContext.subtitle_header (set by libavcodec),
which is fixed by using avcodec_free_context(). It also leaked the
subtitle that was decoded last.
Diffstat (limited to 'stream/cache.c')
0 files changed, 0 insertions, 0 deletions