ffmpeg: apply misc cosmetics to process_input() code