Use avf context in av_log, instead of NULL.