diff options
author | Matt Wolenetz <wolenetz@google.com> | 2018-04-10 13:59:25 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-07-08 19:45:46 +0200 |
commit | c2e611fef6a80f598fa2f25bf4a28522779565e2 (patch) | |
tree | 9f5d4781819bd2be502e4d90fefc0979ae1349a5 /libavcodec/wmv2dec.c | |
parent | 173fdd9b65a877946b6a8decaaafcd5295c3517b (diff) | |
download | ffmpeg-c2e611fef6a80f598fa2f25bf4a28522779565e2.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 'libavcodec/wmv2dec.c')
0 files changed, 0 insertions, 0 deletions