Change some dprintf to av_log