Use av_log(ctx, ...) instead of av_log(NULL, ...)