diff options
author | Matt Wolenetz <wolenetz@google.com> | 2018-04-10 13:59:25 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-06-18 01:16:03 +0200 |
commit | ae136f8d6425c318a6c92f7b593582305143e346 (patch) | |
tree | 134f7ca379b1186bb1ac5c30f331ff81aa0bf059 /libavformat/utils.c | |
parent | c44244424ff2a50e50661c8fe86b252ee563d6d2 (diff) | |
download | ffmpeg-ae136f8d6425c318a6c92f7b593582305143e346.tar.gz |
lavc/libopusdec: 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
libopus decoder allocations.
BUG=828526
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit e43e97f0e0f0596b56ceb2f887fe7414f202f081)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/utils.c')
0 files changed, 0 insertions, 0 deletions