FFPlay: Fix the log(through fprintf or av_log) printf crash issue