avformat: make avformat_close_input() more tolerant.
authorClément Bœsch <u@pkh.me>
Tue, 3 Sep 2013 20:22:19 +0000 (22:22 +0200)
committerClément Bœsch <u@pkh.me>
Wed, 4 Sep 2013 20:06:38 +0000 (22:06 +0200)
commit36cd017acd9cac0e6695124c052a59fb1fc13145
tree165e81d51257cb4f25d5f9c03f0b44da537a6df6
parentbc68927a0f2c26edc675a01db7ac77ab42a81d0c
avformat: make avformat_close_input() more tolerant.

The purpose of this commit is to make error management simpler and less
error prone, just like av_free() which is safe with NULL.
doc/APIchanges
libavformat/utils.c
libavformat/version.h