Fix compatibility with older ffmpeg
Authored by: klaussfreire 2012-09-27
Parent: [r13409]
Child: [r13411]