lavf: add avformat_close_input().
authorAnton Khirnov <anton@khirnov.net>
Sun, 11 Dec 2011 09:34:08 +0000 (10:34 +0100)
committerAnton Khirnov <anton@khirnov.net>
Mon, 12 Dec 2011 19:23:56 +0000 (20:23 +0100)
commit526604545fb1cc0c11af356fbffd5cddf8cdc95f
tree1c3b0c53decd94ddd1c735283129c09af73b5938
parent3a7f7678eb3be1f9a28414c9908ed8d34b1b9846
lavf: add avformat_close_input().

It sets the supplied AVFormatContext pointer to NULL after freeing it,
which is safer and its name is consistent with other lavf functions.

Also deprecate av_close_input_file().
doc/APIchanges
libavformat/avformat.h
libavformat/utils.c
libavformat/version.h