lavf: allow avformat_close_input() with NULL
authorwm4 <nfxjfg@googlemail.com>
Sun, 16 Jul 2017 10:43:09 +0000 (12:43 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sat, 22 Jul 2017 07:30:56 +0000 (09:30 +0200)
commit2b1324bd167553f49736e4eaa94f96da9982925e
treeda52ac6c85f4076814fa81b318c8eef6075088a2
parent9b9285bbf18e3bca87ec4969f661a4b321756cd5
lavf: allow avformat_close_input() with NULL

This is consistent with how other destructors behave.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/utils.c