Fix compilation after recent changes in FFmpeg.