Updating AVInput to new ffmpeg API