lavf: add avformat_open_input() as a replacement for av_open_input_*