Fix compilation with Libav 0.8.5 (Debian sid)