Correct opts calulation in ffmpeg.c.