Ensure compatibility with different versions of ffmpeg lib (avcodec & avformat).
Authored by: bruno.herbelin@gmail.com 2011-03-26
Parent: [r322]
Child: [r324]