fix issues of FFmpeg configuration