lavfi/deshake: fix crash in uninit()
authorStefano Sabatini <stefasab@gmail.com>
Thu, 21 Jun 2012 15:00:52 +0000 (17:00 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Thu, 21 Jun 2012 15:01:44 +0000 (17:01 +0200)
commit1bb30d02959e530c72a0026047cb916883c031a7
tree83081b580ee9f228f06cb4f12932800b83197d4b
parentf77fd34bc34c93a555eee99226d01d947d02a2a3
lavfi/deshake: fix crash in uninit()

Add NULL check on avctx before calling avcodec_close() on it.

Fix trac ticket #1472.
libavfilter/vf_deshake.c