av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)