sync FFmpeg code

sync FFmpeg code for me.