ffs: use the updated api in ffmpeg 0.10