Adds a exception to a critical piece of code in ffmpegvideo.