ffmpeg: fix mixed declarations and statements.