Add passing options to avformat_open_input()
Merge branch 'master' into api-rework