AVIDump: use new ffmpeg/libav API

libav 10 has been released on May 10th, 2014 (it drops support for some
long-deprecated stuff).

Can someone test this on Debian unstable?

Problem: Debian stable only ships the new API in backports.