Replaced FFMPEG function that no longer exists in the latest distributio...

The latest distribution release of FFMPEG removed av_close_input_file().  I replaced it with the recommended successor (http://ffmpeg.org/pipermail/ffmpeg-cvslog/2011-December/044542.html).
Looks good, just one thing to change - there looks to be tabs here instead of spaces. And thanks :smile: