diff options
author | Matt Wolenetz <wolenetz@google.com> | 2018-04-10 13:59:25 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-07-10 01:52:55 +0200 |
commit | 54bde32f37fd69c556c1c65047f9d27c2a6da229 (patch) | |
tree | 2e9d301a928ea9ca668f0c150fdc5d73e8414d58 /libavformat/utils.c | |
parent | 07cd51f10e96a4b9208d3aa99caea1068f89041b (diff) | |
download | ffmpeg-54bde32f37fd69c556c1c65047f9d27c2a6da229.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