Don't crash with Libav 11