Put if (...) av_log() in the same line, more compact and increase