avformat: Forward errors where possible