diff options
author | Matt Wolenetz <wolenetz@chromium.org> | 2018-03-05 15:59:18 -0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-03-07 20:37:33 +0100 |
commit | b59b59944693e645cdcf5e61b60f288820fe48c3 (patch) | |
tree | ac3ca9237566db7886f9876f45b7e292731d1d27 /libswresample/dither.c | |
parent | 23c91abe4f6a76d0a5066adf2abbf8cd66f1b1ec (diff) | |
download | ffmpeg-b59b59944693e645cdcf5e61b60f288820fe48c3.tar.gz |
lavc/vorbisdec: Allow avcodec_open2 to call .close
If there is a decoder initialization failure detected in avcodec_open2
after .init is called, allow graceful decoder .close to prevent leaking
vorbis decoder allocations such as those from vorbis_parse_setup_*.
BUG=772699
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libswresample/dither.c')
0 files changed, 0 insertions, 0 deletions