diff options
author | Rick Kern <kernrj@gmail.com> | 2016-03-21 00:55:56 +0800 |
---|---|---|
committer | wm4 <nfxjfg@googlemail.com> | 2016-04-02 19:16:15 +0200 |
commit | 78016694706776fbfe4be9533704be3180b31623 (patch) | |
tree | 2a837287bc41757dbf53ea098c955bff2cc22307 /libavformat/rmsipr.h | |
parent | ffd1c3eeb7043a51d1483ce7fb56772d32f02963 (diff) | |
download | ffmpeg-78016694706776fbfe4be9533704be3180b31623.tar.gz |
lavc/videotoolboxenc: Fix crash when closing codec after error
Fixes crash in #5352. VTCompressionSessionInvalidate() crashes if the
internal encoder hasn't completed, but hasn't experienced an error.
The function call isn't needed since the encoder is invalidated when
the reference count reaches 0 anyway.
Signed-off-by: Rick Kern <kernrj@gmail.com>
Signed-off-by: wm4 <nfxjfg@googlemail.com>
Diffstat (limited to 'libavformat/rmsipr.h')
0 files changed, 0 insertions, 0 deletions